2012-08-16 17:38:47 +00:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
git pull && \
|
2012-08-18 09:07:36 +00:00
|
|
|
git submodule init && \
|
|
|
|
git submodule update && \
|
2012-08-18 07:26:40 +00:00
|
|
|
(app/console cache:clear --env=prod || rm -rf `dirname $0`/app/cache/prod) && \
|
|
|
|
(app/console cache:clear || rm -rf `dirname $0`/app/cache/dev) && \
|
2012-08-16 17:38:47 +00:00
|
|
|
app/console assets:install && \
|
|
|
|
app/console assetic:dump --env=prod && \
|
|
|
|
exit 0
|
|
|
|
|