🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
chore: refactor Makefile
Deluan032cfa2a4dd1
diff --git a/Makefile b/Makefileindex 0276081f4..634d68c06 100644--- a/Makefile+++ b/Makefile@@ -1,7 +1,9 @@GO_VERSION=$(shell grep "^go " go.mod | cut -f 2 -d ' ')NODE_VERSION=$(shell cat .nvmrc)+# Set global environment variables, required for most targetsexport CGO_CFLAGS_ALLOW=--define-prefix+export ND_ENABLEINSIGHTSCOLLECTOR=falseifneq ("$(wildcard .git/HEAD)","")GIT_SHA=$(shell git rev-parse --short HEAD)@@ -28,11 +30,11 @@ setup: check_env download-deps install-golangci-lint setup-git ##@1_Run_First In.PHONY: setupdev: check_env ##@Development Start Navidrome in development mode, with hot-reload for both frontend and backend- ND_ENABLEINSIGHTSCOLLECTOR="false" npx foreman -j Procfile.dev -p 4533 start+ npx foreman -j Procfile.dev -p 4533 start.PHONY: devserver: check_go_env buildjs ##@Development Start the backend in development mode- @ND_ENABLEINSIGHTSCOLLECTOR="false" go tool reflex -d none -c reflex.conf+ go tool reflex -d none -c reflex.conf.PHONY: serverstop: ##@Development Stop development servers (UI and backend)