Mercurial > hg > dml-open-vis
annotate bin/refresh-prod @ 1:f38015048f48 tip
Added GPL
| author | Daniel Wolff | 
|---|---|
| date | Sat, 13 Feb 2016 20:43:38 +0100 | 
| parents | 493bcb69166c | 
| 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 | 
