annotate bin/refresh-prod @ 0:493bcb69166c

added public content
author Daniel Wolff
date Tue, 09 Feb 2016 20:54:02 +0100
parents
children
rev   line source
Daniel@0 1 #!/bin/sh
Daniel@0 2
Daniel@0 3 if [ "$1" = 'v' ];
Daniel@0 4 then
Daniel@0 5 app/console assets_version:increment --env=prod
Daniel@0 6 fi
Daniel@0 7
Daniel@0 8 app/console cache:clear --env=prod
Daniel@0 9
Daniel@0 10 rm $/all.css
Daniel@0 11 rm $/vendor.js
Daniel@0 12 rm $/app.js
Daniel@0 13 rm $/testing.css
Daniel@0 14 rm $/testing.js
Daniel@0 15 app/console assetic:dump --env=prod
Daniel@0 16
Daniel@0 17 cat ./app/config/assets_version.yml