Commit da1a159e by Bence Dányi

cloud: make compiles css/js resources

parent edd6f4a7
SHELL := /bin/bash
default: migrate collectstatic mo restart
default: migrate collectstatic mo less uglifyjs restart
pulldef: pull default
pull:
......@@ -23,3 +23,11 @@ mo:
restart:
sudo /etc/init.d/apache2 reload || sudo restart django
less:
lessc one/static/style/style.less > one/static/style/style.css
uglifyjs:
uglifyjs one/static/script/cloud.js > one/static/script/cloud.min.js
uglifyjs one/static/script/util.js > one/static/script/util.min.js
uglifyjs one/static/script/store.js > one/static/script/store.min.js
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment