chore: formatting, indentation

This commit is contained in:
decentral1se 2023-02-08 22:59:47 +01:00
parent f5e2710138
commit 2eebac6fc0
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 9 additions and 7 deletions

View File

@ -4,6 +4,7 @@ COMMIT := $(shell git rev-list -1 HEAD)
GOPATH := $(shell go env GOPATH)
LDFLAGS := "-X 'main.Commit=$(COMMIT)'"
DIST_LDFLAGS := $(LDFLAGS)" -s -w"
export GOPRIVATE=coopcloud.tech
all: format check build test
@ -29,7 +30,8 @@ format:
@gofmt -s -w .
check:
@test -z $$(gofmt -l .) || (echo "gofmt: formatting issue - run 'make format' to resolve" && exit 1)
@test -z $$(gofmt -l .) || \
(echo "gofmt: formatting issue - run 'make format' to resolve" && exit 1)
test:
@go test ./... -cover -v