diff options
author | Joas Schilling <coding@schilljs.com> | 2020-06-12 14:52:43 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-06-12 14:52:43 +0300 |
commit | 28fb524767f2a9aac8f66d7293c54d2c909c9a21 (patch) | |
tree | 683ba6c33592d4b2c483a72eedb68d0f7733c53a /Makefile | |
parent | 86e688ecc5b48a40f0cb746271b48e76c6533580 (diff) |
Update makefile
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 38 |
1 files changed, 34 insertions, 4 deletions
@@ -9,19 +9,49 @@ package_name=$(app_name) cert_dir=$(HOME)/.nextcloud/certificates version+=2.0.2 -all: appstore +all: appstore build-js-production + +dev-setup: clean-dev npm-init release: appstore create-tag +build-js: + npm run dev + +build-js-production: + npm run build + +watch-js: + npm run watch + +test: + npm run test:unit + +lint: + npm run lint + +lint-fix: + npm run lint:fix + +npm-init: + npm install + +npm-update: + npm update + +clean: + rm -rf js/dist/* + rm -rf $(build_dir) + +clean-dev: clean + rm -rf node_modules + create-tag: git tag -s -a v$(version) -m "Tagging the $(version) release." git push origin v$(version) js-templates: handlebars -n OCA.External.Templates js/templates -f js/templates.js - -clean: - rm -rf $(build_dir) rm -rf node_modules appstore: clean |