Sniffer && generate archive

This commit is contained in:
Tristan Darricau 2016-02-01 22:07:27 +01:00
parent e3aed4f17c
commit 6145949c5a
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bas #!/usr/bin/env bash
cat <<EOL > generate-archive.sh cat <<EOL > generate-archive.sh
git remote set-url origin "https://github.com/phpbb/phpbb.git" git remote set-url origin "https://github.com/phpbb/phpbb.git"

View file

@ -4,4 +4,8 @@ docker run \
--user $(id -u):$(id -g) \ --user $(id -u):$(id -g) \
--volume ${WORKING_DIR}:/data \ --volume ${WORKING_DIR}:/data \
--workdir /data \ --workdir /data \
php:5.6 sh -c 'cd build && ../phpBB/vendor/bin/phing sniff && echo 0 > logs/sniffs_res || echo 1 > logs/sniffs_res' php:5.6 sh -c '
cd build &&
../phpBB/vendor/bin/phing sniff &&
echo 0 > logs/sniffs_res ||
echo 1 > logs/sniffs_res'