diff bin/refresh-prod @ 0:493bcb69166c

added public content
author Daniel Wolff
date Tue, 09 Feb 2016 20:54:02 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/refresh-prod	Tue Feb 09 20:54:02 2016 +0100
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+if [ "$1" = 'v' ];
+then
+	app/console assets_version:increment --env=prod
+fi
+
+app/console cache:clear --env=prod
+
+rm $/all.css
+rm $/vendor.js
+rm $/app.js
+rm $/testing.css
+rm $/testing.js
+app/console assetic:dump --env=prod
+
+cat ./app/config/assets_version.yml
\ No newline at end of file