🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Give a warning on commands that do not build the frontend.
Deluanaf7c87dd7b39
diff --git a/Makefile b/Makefileindex 25dfdbfb2..7965bb0da 100644--- a/Makefile+++ b/Makefile@@ -69,6 +69,7 @@ buildall: buildjs build ##@Build Build the project, both frontend and backend.PHONY: buildallbuild: 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: buildjsall: ##@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: allsingle: ##@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=<os> GOARCH=<arch> make single"; \echo "Options:"; \