aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-05-19 22:15:47 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-05-19 22:15:47 +0200
commitda8e6a3acfac65b588ed4f22600fcaf2cf4b5a9b (patch)
treeefcf237ccf6b24391cbb6f5c8a5ebb9612fbcb47
parent07abe80065aa0ff3c203b2b0dcfb20c7a0a8c7c5 (diff)
downloadWRMS-da8e6a3acfac65b588ed4f22600fcaf2cf4b5a9b.tar.gz
WRMS-da8e6a3acfac65b588ed4f22600fcaf2cf4b5a9b.zip
add simple Makefileui-overhaul
-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