aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..916ae50
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+.PHONY: all server frontend format check
+all: server frontend
+
+server:
+ go build
+
+frontend:
+ cd web; npm run build
+
+format:
+ go fmt; \
+ cd web; npm run format
+
+
+check:
+ golangci-lint run; \
+ cd web; npm run check