kekrozsak/update.sh
Gergely POLONKAI ebb0469ae1 Added basic book adding functionality
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-08-18 11:07:36 +02:00

12 lines
305 B
Bash
Executable File

#! /bin/sh
git pull && \
git submodule init && \
git submodule update && \
(app/console cache:clear --env=prod || rm -rf `dirname $0`/app/cache/prod) && \
(app/console cache:clear || rm -rf `dirname $0`/app/cache/dev) && \
app/console assets:install && \
app/console assetic:dump --env=prod && \
exit 0