From fd147cc3fd27c2f08af16416cedeefd97945af60 Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Thu, 7 Jun 2018 08:35:00 +0200 Subject: Bump updatenotification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/updatenotification/Makefile | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'apps/updatenotification/Makefile') diff --git a/apps/updatenotification/Makefile b/apps/updatenotification/Makefile index 49f84eab32f..ace246dc421 100644 --- a/apps/updatenotification/Makefile +++ b/apps/updatenotification/Makefile @@ -3,14 +3,15 @@ app_name=updatenotification project_dir=$(CURDIR)/../$(app_name) build_dir=$(CURDIR)/build source_dir=$(build_dir)/$(app_name) -sign_dir=$(build_dir)/sign -all: package +all: dev-setup build-js-production package -dev-setup: clean npm-update build-js +dev-setup: clean clean-dev npm-init + +npm-init: + npm install npm-update: - rm -rf node_modules npm update build-js: @@ -19,9 +20,17 @@ build-js: build-js-production: npm run build +watch-js: + npm run watch + clean: + rm -f js/merged.js + rm -f js/merged.js.map rm -rf $(build_dir) +clean-dev: + rm -rf node_modules + package: clean build-js-production mkdir -p $(source_dir) rsync -a \ -- cgit v1.2.3