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-16 21:01:06 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2015-10-12 13:25:24 +0300
commitb9764fa20d23c2c9817bb96a32c3b6933168b915 (patch)
treeac71a6b82e6cd4ce38d6b18298da3c66a8db06da /Makefile
parent07179a0a55a00981e583404658c21050b0bc0f2f (diff)
use Makefile to set up dev environment
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e774acc1c..c683abd38 100644
--- a/Makefile
+++ b/Makefile
@@ -22,15 +22,20 @@ install-deps: install-composer-deps install-npm-deps install-bower-deps
install-composer-deps: composer.phar
php composer.phar install
-install-npm-deps: package.json
+install-npm-deps:
npm install --production
+install-npm-deps-dev:
+ npm install --deps
+
install-bower-deps: bower.json install-npm-deps
./node_modules/bower/bin/bower install
optimize-js: install-deps
./node_modules/requirejs/bin/r.js -o build.js
+dev-setup: install-composer-deps install-npm-deps-dev install-bower-deps
+
update-composer:
rm -f composer.lock
git rm -r vendor