Fix: Style-checkers report their output to wrong location
This commit is contained in:
parent
71f2c408df
commit
4b225eccee
|
@ -8,6 +8,6 @@ DIR=$(dirname $SCRIPTNAME)
|
|||
# Make sure that the destination directory for logs and reports exists
|
||||
mkdir -p $DIR/../../build/log
|
||||
|
||||
jshint --reporter=jslint "$@" $DIR/../.. > $DIR/../../build/log/jshint_results.xm
|
||||
jshint --reporter=jslint "$@" $DIR/../.. > $DIR/../../build/log/jshint_results.xml
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -8,6 +8,6 @@ DIR=$(dirname $SCRIPTNAME)
|
|||
# Make sure that the destination directory for logs and reports exists
|
||||
mkdir -p $DIR/../../build/log
|
||||
|
||||
phpcs -p --standard=PSR2 --extensions=php --encoding=utf-8 --report-checkstyle=$DIR/build/log/phpcs_results.xml --ignore=vendor "$@" $DIR/../..
|
||||
phpcs -p --standard=PSR2 --extensions=php --encoding=utf-8 --report-checkstyle=$DIR/../../build/log/phpcs_results.xml --ignore=vendor "$@" $DIR/../..
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue