diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-02-25 17:16:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-25 17:16:39 +0100 |
commit | 25bb0918fd8ac3f5c69c8d53494d6167d9531866 (patch) | |
tree | 921c83705c602ed0a2e237cb6725e27b0b6ab0e2 /Makefile | |
parent | d7538f9a61a2af288d82fc257524aee5c2f86769 (diff) | |
parent | f7de518ec0cf2d30c23e34a3c058dd7819f7d167 (diff) | |
download | nextcloud-server-25bb0918fd8ac3f5c69c8d53494d6167d9531866.tar.gz nextcloud-server-25bb0918fd8ac3f5c69c8d53494d6167d9531866.zip |
Merge pull request #14365 from nextcloud/enh/npm-makefile
Makefile to root folder
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
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 + |