symlink vendor/egroupware/ckeditor to api/js/ to ease upgrade

This commit is contained in:
Ralf Becker 2016-10-09 13:07:00 +02:00
parent 53ac06e9da
commit 7289d57a3f

View File

@ -22,8 +22,8 @@ checkout = git clone -b 16.1 ${EGW_REPO_BASE:-$(git config --get remote.origin.u
checkout = git clone git@github.com:EGroupware/egroupware.git &&
/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;
rm -rf api/js/ckeditor;
/usr/bin/env $(which composer.phar >/dev/null && echo composer.phar || echo composer) install
/usr/bin/env $(which composer.phar >/dev/null && echo composer.phar || echo composer) install;
rm -rf api/js/ckeditor; ln -s ../../vendor/egroupware/ckeditor api/js/
# 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