From 0ec7a305a23085cb603a1419feb54c563cd10237 Mon Sep 17 00:00:00 2001 From: Deluan Date: Thu, 20 May 2021 13:42:29 -0400 Subject: [PATCH] Reorder Makefile dev targets --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 11c790d8..648ecaee 100644 --- a/Makefile +++ b/Makefile @@ -19,10 +19,6 @@ server: check_go_env ##@Development Start the backend in development mode @go run github.com/cespare/reflex -d none -c reflex.conf .PHONY: server -wire: check_go_env ##@Development Update Dependency Injection - go run github.com/google/wire/cmd/wire ./... -.PHONY: wire - watch: ##@Development Start Go tests in watch mode (re-run when code changes) go run github.com/onsi/ginkgo/ginkgo watch -notify ./... .PHONY: watch @@ -43,9 +39,13 @@ lintall: lint ##@Development Lint Go and JS code @(cd ./ui && npm run check-formatting && npm run lint) .PHONY: lintall -update-snapshots: ##@Development Update Snapshot tests +wire: check_go_env ##@Development Update Dependency Injection + go run github.com/google/wire/cmd/wire ./... +.PHONY: wire + +snapshots: ##@Development Update (GoLang) Snapshot tests UPDATE_SNAPSHOTS=true go run github.com/onsi/ginkgo/ginkgo ./server/subsonic/... -.PHONY: update-snapshots +.PHONY: snapshots migration: ##@Development Create an empty migration file @if [ -z "${name}" ]; then echo "Usage: make migration name=name_of_migration_file"; exit 1; fi