fix(build): add -modcacherw flag

This commit is contained in:
Łukasz Mierzwa
2022-04-11 22:08:43 +01:00
committed by Łukasz Mierzwa
parent 360c1180cf
commit 8844383306

View File

@@ -10,7 +10,7 @@ ui/build/index.html: $(call rwildcard, ui/src ui/package.json ui/package-lock.js
.DEFAULT_GOAL := $(NAME)
$(NAME): go.mod go.sum $(SOURCES_GO) ui/build/index.html
go build -trimpath -ldflags "-X main.version=$(VERSION) -s -w" ./cmd/karma
go build -trimpath -modcacherw -ldflags "-X main.version=$(VERSION) -s -w" ./cmd/karma
.PHONY: test-go
test-go: