🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Add `'lint` to pre-push git hook
Deluand5434d4169d5
diff --git a/Makefile b/Makefileindex 602bc9d79..3929e2b33 100644--- a/Makefile+++ b/Makefile@@ -37,6 +37,10 @@ lint:go run github.com/golangci/golangci-lint/cmd/golangci-lint run -v.PHONY: lint+lintall: check_node_dev_env lint+ @(cd ./ui && npm run check-formatting && npm run lint)+.PHONY: lintall+update-snapshots: check_go_envUPDATE_SNAPSHOTS=true go run github.com/onsi/ginkgo/ginkgo ./server/subsonic/....PHONY: update-snapshots@@ -111,7 +115,7 @@ buildall: check_envgo build -ldflags="-X github.com/navidrome/navidrome/consts.gitSha=$(GIT_SHA) -X github.com/navidrome/navidrome/consts.gitTag=$(GIT_TAG)-SNAPSHOT" -tags=netgo.PHONY: buildall-pre-push: lint test+pre-push: lintall testall.PHONY: pre-pushrelease: