mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-22 13:24:24 +02:00
Build server
Add absolute directory for helper scripts refs #4067 refs #4213 refs #4099 refs #4098 refs #4214
This commit is contained in:
parent
420f407df4
commit
0592bff4ef
@ -1,6 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
for filepath in `find ../doc -type f -name "*.md"`; do
|
set -o nounset
|
||||||
|
|
||||||
|
SCRIPTNAME=$(readlink -f $0)
|
||||||
|
DIR=$(dirname $SCRIPTNAME)
|
||||||
|
|
||||||
|
for filepath in `find $DIR/../doc -type f -name "*.md"`; do
|
||||||
markdown $filepath > `dirname $filepath`/`basename $filepath .md`.html
|
markdown $filepath > `dirname $filepath`/`basename $filepath .md`.html
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -1,8 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Make sure that the destination directory for logs and reports exists
|
set -o nounset
|
||||||
mkdir -p ../../build/log
|
|
||||||
|
|
||||||
jshint --reporter=jslint "$@" ../.. > ../../build/log/jshint_results.xml
|
SCRIPTNAME=$(readlink -f $0)
|
||||||
|
DIR=$(dirname $SCRIPTNAME)
|
||||||
|
|
||||||
|
# Make sure that the destination directory for logs and reports exists
|
||||||
|
mkdir -p $DIR/build/log
|
||||||
|
|
||||||
|
jshint --reporter=jslint "$@" ../.. > $DIR/build/log/jshint_results.xml
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -1,9 +1,14 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Make sure that the destination directory for logs and reports exists
|
set -o nounset
|
||||||
mkdir -p ../../build/log
|
|
||||||
|
|
||||||
mocha --reporter "xunit" --recursive "$@" . > ../../build/log/mocha_results.xml
|
SCRIPTNAME=$(readlink -f $0)
|
||||||
mocha --reporter "cobertura" --recursive "$@" . > ../../build/log/mocha_coverage.xml
|
DIR=$(dirname $SCRIPTNAME)
|
||||||
|
|
||||||
|
# Make sure that the destination directory for logs and reports exists
|
||||||
|
mkdir -p $DIR/build/log
|
||||||
|
|
||||||
|
mocha --reporter "xunit" --recursive "$@" . > $DIR/build/log/mocha_results.xml
|
||||||
|
mocha --reporter "cobertura" --recursive "$@" . > $DIR/build/log/mocha_coverage.xml
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -1,8 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Make sure that the destination directory for logs and reports exists
|
set -o nounset
|
||||||
mkdir -p ../../build/log
|
|
||||||
|
|
||||||
phpcs -p --standard=PSR2 --extensions=php --encoding=utf-8 --report-checkstyle=../../build/log/phpcs_results.xml --ignore=vendor "$@" ../..
|
SCRIPTNAME=$(readlink -f $0)
|
||||||
|
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 "$@" ../..
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -1,7 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -o nounset
|
||||||
|
|
||||||
|
SCRIPTNAME=$(readlink -f $0)
|
||||||
|
DIR=$(dirname $SCRIPTNAME)
|
||||||
|
|
||||||
# Make sure that the destination directory for logs and reports exists
|
# Make sure that the destination directory for logs and reports exists
|
||||||
mkdir -p ../../build/log
|
mkdir -p $DIR/../../build/log
|
||||||
|
|
||||||
phpunit "$@" .
|
phpunit "$@" .
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user