diff --git a/Makefile b/Makefile index f1657b5..3dae2a5 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,7 @@ build-go: $(BUILD_FLAGS) $(GO) build -ldflags "$(LDFLAGS)" -o bin/$(BINARY) ./cmd/server build-all: frontend + cp -R web/dist internal/webui/dist $(BUILD_FLAGS) GOOS=linux GOARCH=amd64 $(GO) build -ldflags "$(LDFLAGS)" -o bin/$(BINARY)-linux-amd64 ./cmd/server $(BUILD_FLAGS) GOOS=linux GOARCH=arm64 $(GO) build -ldflags "$(LDFLAGS)" -o bin/$(BINARY)-linux-arm64 ./cmd/server