mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-21 12:54:26 +02:00
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
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1 @@
|
|||||||
/build/log/*
|
/build/*
|
||||||
!/build/log/README
|
|
||||||
|
@ -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
|
#!/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
|
jshint --reporter=jslint "$@" ../.. > ../../build/log/jshint_results.xml
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/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 "xunit" --recursive "$@" . > ../../build/log/mocha_results.xml
|
||||||
mocha --reporter "cobertura" --recursive "$@" . > ../../build/log/mocha_coverage.xml
|
mocha --reporter "cobertura" --recursive "$@" . > ../../build/log/mocha_coverage.xml
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/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 "$@" ../..
|
phpcs -p --standard=PSR2 --extensions=php --encoding=utf-8 --report-checkstyle=../../build/log/phpcs_results.xml --ignore=vendor "$@" ../..
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Make sure that the destination directory for logs and reports exists
|
||||||
|
mkdir -p ../../build/log
|
||||||
|
|
||||||
phpunit "$@" .
|
phpunit "$@" .
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user