1
0
mirror of https://github.com/EGroupware/egroupware.git synced 2025-01-03 12:39:25 +01:00

try to detect if composer binary is called composer.phar or just composer

This commit is contained in:
Ralf Becker 2016-05-30 20:04:50 +02:00
parent 4edb40e642
commit 36d8253929

View File

@ -26,9 +26,9 @@ skip = [ $1 = "tag" -o $1 = "untag" ]
[]
# to run composer.phar automatic, this .mrconfig need to be trusted by adding it to ~/.mrtrust
checkout = git clone git@github.com:EGroupware/egroupware.git &&
/usr/bin/env composer.phar install
/usr/bin/env $(which composer.phar >/dev/null && echo composer.phar || echo composer) install
update = git stash -q || true ; git pull --rebase ; git stash pop -q 2>/dev/null || true;
/usr/bin/env composer.phar install
/usr/bin/env $(which composer.phar >/dev/null && echo composer.phar || echo composer) install
# uncomment for minified javascript and css, IF you have nodejs and grunt installed: npm install -g grunt-cli
#post_checkout = /usr/bin/env npm install && /usr/bin/env grunt
#post_update = /usr/bin/env npm install && /usr/bin/env grunt