From fcee8c10c0dab80b29e8bab93869900f4fbfb84a Mon Sep 17 00:00:00 2001 From: Shulhan Date: Fri, 27 Jun 2025 01:32:09 +0700 Subject: Makefile: do not run "embed" when building rescached The embed command should be run once when the assets file in _www changes. --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index 08c5bbc..2b05bf9 100644 --- a/Makefile +++ b/Makefile @@ -54,7 +54,6 @@ resolver: rescached: LD_FLAGS+=-X 'git.sr.ht/~shulhan/rescached.Version=$(VERSION)' rescached: mkdir -p _bin/$(GOOS)_$(GOARCH) - go run ./cmd/rescached embed go build $(DEBUG) -ldflags="$(LD_FLAGS)" -o _bin/$(GOOS)_$(GOARCH)/ ./cmd/rescached -- cgit v1.3