aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-02-24 20:20:12 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-02-24 20:20:12 +0100
commitbe542d3f5378239741950bf0bc90c4a42d030f14 (patch)
tree717f178730bc8ac74050ba180003922dd162bd9b /Makefile
parentbc120bc5d7b8026240bda1a518af6533d97c2eb2 (diff)
downloadnextcloud-server-be542d3f5378239741950bf0bc90c4a42d030f14.tar.gz
nextcloud-server-be542d3f5378239741950bf0bc90c4a42d030f14.zip
Makefile to root folder
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000000..7e6b37af669
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+all: dev-setup build-js-production
+
+dev-setup: clean-dev npm-init
+
+npm-init:
+ npm install
+
+npm-update:
+ npm update
+
+build-js:
+ npm run dev
+
+build-js-production:
+ npm run build
+
+watch-js:
+ npm run watch
+
+clean-dev:
+ rm -rf node_modules
+