diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2015-09-08 01:00:29 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2015-09-08 11:38:01 +0300 |
commit | 35e60a1b8fcdc6b9c5a1441cf6ef7d103a6a6e1c (patch) | |
tree | 2b47e000dac1af33fe5b57fae7187a4fd092eb0f /Makefile | |
parent | 2331291a7a00bf4e851f9d02b75fc5a2c109c156 (diff) |
load optimized js files only in debug mode
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -12,6 +12,17 @@ all: dist clean: rm -rf $(build_dir) +dist: install-npm-deps install-bower-deps optimize-js + +install-npm-deps: package.json + npm install + +install-bower-deps: bower.json install-npm-deps + ./node_modules/bower/bin/bower install + +optimize-js: + ./node_modules/requirejs/bin/r.js -o build.js + update-composer: rm -f composer.lock git rm -r vendor |