Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
federicotdn committed Dec 16, 2024
1 parent ca70330 commit 9dcb238
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9dcb238

Please sign in to comment.