|
|
@@ -29,12 +29,12 @@ clean:
|
|
|
fmt:
|
|
|
@go fmt github.com/felamaslen/gmus-backend/...
|
|
|
lint:
|
|
|
- @test -z $(shell gofmt -l .) || (echo "Found formatting issues; run \"make fmt\" to fix"; exit 1)
|
|
|
+ @test -z $(shell gofmt -l .) && echo "Lint ok" || (echo "Found formatting issues; run \"make fmt\" to fix"; exit 1)
|
|
|
|
|
|
test:
|
|
|
GO_ENV=test ginkgo ./...
|
|
|
test.ci:
|
|
|
- GO_ENV=ci ginkgo ./...
|
|
|
+ GO_ENV=ci ginkgo --randomizeAllSpecs --randomizeSuites --failOnPending --cover --trace --race --progress --noColor ./...
|
|
|
|
|
|
migrate:
|
|
|
go run ./cmd/gmus.migrate
|