From 9dcb238e3a5745add840f5c50191b42d84437dd7 Mon Sep 17 00:00:00 2001 From: Federico Tedin Date: Mon, 16 Dec 2024 19:29:26 +0100 Subject: [PATCH] Fix build --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 34de682..e442710 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,9 @@ GO_SOURCES=$(shell find . -type f -name '*.go' -not -path "./vendor/*") .PHONY: build build: - PUBLIC_BACKEND_ENDPOINT="" PUBLIC_BACKEND_WS_ENDPOINT="" cd pkg/web && \ - npm install && npm run build + export PUBLIC_BACKEND_ENDPOINT="" && \ + export PUBLIC_BACKEND_WS_ENDPOINT="" && \ + cd pkg/web && npm install && npm run build go build -o bin/quickpizza ./cmd # Note: does not include frontend files, only Go code.