diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..d1017c3 --- /dev/null +++ b/update.sh @@ -0,0 +1,13 @@ +#! /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 + +exit 1 +