Commit da1a159e by Bence Dányi

cloud: make compiles css/js resources

parent edd6f4a7
SHELL := /bin/bash SHELL := /bin/bash
default: migrate collectstatic mo restart default: migrate collectstatic mo less uglifyjs restart
pulldef: pull default pulldef: pull default
pull: pull:
...@@ -23,3 +23,11 @@ mo: ...@@ -23,3 +23,11 @@ mo:
restart: restart:
sudo /etc/init.d/apache2 reload || sudo restart django 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