summaryrefslogtreecommitdiffstats
path: root/apps/oauth2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/oauth2/Makefile')
-rw-r--r--apps/oauth2/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/apps/oauth2/Makefile b/apps/oauth2/Makefile
new file mode 100644
index 00000000000..f2bc6292bed
--- /dev/null
+++ b/apps/oauth2/Makefile
@@ -0,0 +1,25 @@
+all: dev-setup build-js-production
+
+dev-setup: clean 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:
+ rm -f js/oauth2.js
+ rm -f js/oauth2.map
+
+clean-dev:
+ rm -rf node_modules