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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
+