4a07b2e120
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <gergely@polonkai.eu>
14 lines
313 B
Bash
Executable File
14 lines
313 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
|
|
|
|
exit 1
|
|
|