summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/Makefile
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-07 08:35:00 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-07 09:28:06 +0200
commitfd147cc3fd27c2f08af16416cedeefd97945af60 (patch)
tree16b6f757e873688f567615279f494b9633d662c0 /apps/updatenotification/Makefile
parent14cb805cf12b97f2f6f56a9a4119fb91dc02ec39 (diff)
downloadnextcloud-server-fd147cc3fd27c2f08af16416cedeefd97945af60.tar.gz
nextcloud-server-fd147cc3fd27c2f08af16416cedeefd97945af60.zip
Bump updatenotification
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/updatenotification/Makefile')
-rw-r--r--apps/updatenotification/Makefile17
1 files changed, 13 insertions, 4 deletions
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 \