aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 696eb6f..b9c376f 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,10 @@ LDFLAGS=-ldflags "-X main.Version=${VERSION} -X main.Build=${BUILD}"
default: build
all: clean build docs
-build:
+ui:
+ cd frontend && npm install && npm run build
+
+build: ui
rice -i ./web embed-go
go build ${LDFLAGS} -o ${BINARY}