Make Git ignore build/* and create it as needed.
refs #4068 refs #4070 refs #4098 refs #4099
This commit is contained in:
parent
5b58c07e28
commit
ee63f3fbd8
|
@ -1,2 +1 @@
|
|||
/build/log/*
|
||||
!/build/log/README
|
||||
/build/*
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
The purpose for this directory is to store temporary logs and
|
||||
reports by test-runner, style-checkers or build-routines.
|
||||
|
||||
"temporary" means in this case that the contents of this directory
|
||||
are completely ignored by Git.
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Make sure that the destination directory for logs and reports exists
|
||||
mkdir -p ../../build/log
|
||||
|
||||
jshint --reporter=jslint "$@" ../.. > ../../build/log/jshint_results.xml
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Make sure that the destination directory for logs and reports exists
|
||||
mkdir -p ../../build/log
|
||||
|
||||
mocha --reporter "xunit" --recursive "$@" . > ../../build/log/mocha_results.xml
|
||||
mocha --reporter "cobertura" --recursive "$@" . > ../../build/log/mocha_coverage.xml
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Make sure that the destination directory for logs and reports exists
|
||||
mkdir -p ../../build/log
|
||||
|
||||
phpcs -p --standard=PSR2 --extensions=php --encoding=utf-8 --report-checkstyle=../../build/log/phpcs_results.xml --ignore=vendor "$@" ../..
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Make sure that the destination directory for logs and reports exists
|
||||
mkdir -p ../../build/log
|
||||
|
||||
phpunit "$@" .
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue