summaryrefslogtreecommitdiffstats
path: root/webapp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/Makefile')
-rw-r--r--webapp/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/webapp/Makefile b/webapp/Makefile
new file mode 100644
index 000000000..99f896e53
--- /dev/null
+++ b/webapp/Makefile
@@ -0,0 +1,18 @@
+.PHONY: build test
+
+test:
+ @echo Checking for style guide compliance
+
+ npm run check
+
+.npminstall: package.json
+ @echo Getting dependencies using npm
+
+ npm install
+
+ touch $@
+
+build: .npminstall
+ @echo Building mattermost web client
+
+ npm run build