summaryrefslogtreecommitdiffstats
path: root/settings/Makefile
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-04-06 21:03:36 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-05-16 09:50:21 +0200
commita2d96128be137528037c48dc462736993d34f2b6 (patch)
tree1e68ee43c9d44816a5d5e70c21c17726336b78c0 /settings/Makefile
parent2ae82137cd816b53cdf60ecba986e938f81d09e9 (diff)
downloadnextcloud-server-a2d96128be137528037c48dc462736993d34f2b6.tar.gz
nextcloud-server-a2d96128be137528037c48dc462736993d34f2b6.zip
Makefile
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/Makefile')
-rw-r--r--settings/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/settings/Makefile b/settings/Makefile
new file mode 100644
index 00000000000..5fa7fa5650b
--- /dev/null
+++ b/settings/Makefile
@@ -0,0 +1,21 @@
+all: clean npm-update build-js-production
+
+dev-setup: clean npm-update build-js
+
+npm-update:
+ rm -rf node_modules
+ npm update
+
+build-js:
+ npm run dev
+
+build-js-production:
+ npm run build
+
+watch-js:
+ npm run watch
+
+clean:
+ rm js/main.js
+ rm js/main.js.map
+