diff --git a/Makefile b/Makefile index 25dfdbfb..7965bb0d 100644 --- a/Makefile +++ b/Makefile @@ -69,6 +69,7 @@ buildall: buildjs build ##@Build Build the project, both frontend and backend .PHONY: buildall build: check_go_env ##@Build Build only backend + @echo "WARNING: This command does not build the frontend, it uses the latest one built by 'make buildjs'" go build -ldflags="-X github.com/navidrome/navidrome/consts.gitSha=$(GIT_SHA) -X github.com/navidrome/navidrome/consts.gitTag=$(GIT_TAG)-SNAPSHOT" -tags=netgo .PHONY: build @@ -77,11 +78,13 @@ buildjs: check_node_env ##@Build Build only frontend .PHONY: buildjs all: ##@Cross_Compilation Build binaries for all supported platforms. It does not build the frontend + @echo "WARNING: This command does not builds the frontend, it uses the latest one built by 'make buildjs'" docker run -t -v $(PWD):/workspace -w /workspace deluan/ci-goreleaser:$(CI_RELEASER_VERSION) \ goreleaser release --rm-dist --skip-publish --snapshot .PHONY: all single: ##@Cross_Compilation Build binaries for a single supported platforms. It does not build the frontend + @echo "WARNING: This command does not build the frontend, it uses the latest one built by 'make buildjs'" @if [ -z "${GOOS}" -o -z "${GOARCH}" ]; then \ echo "Usage: GOOS= GOARCH= make single"; \ echo "Options:"; \