Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2015-09-08 01:00:29 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2015-09-08 11:38:01 +0300
commit35e60a1b8fcdc6b9c5a1441cf6ef7d103a6a6e1c (patch)
tree2b47e000dac1af33fe5b57fae7187a4fd092eb0f /Makefile
parent2331291a7a00bf4e851f9d02b75fc5a2c109c156 (diff)
load optimized js files only in debug mode
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dd0461694..c9326e42c 100644
--- a/Makefile
+++ b/Makefile
@@ -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