Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
martinrode committed Feb 24, 2021
2 parents a741df4 + a12a93c commit 354654d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ apitest_report.json
*.code-workspace
*.vscode
*.sh
testcoverage.out
15 changes: 12 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
all: test build

test:
vet:
go vet ./...
go test ./...

fmt:
go fmt ./...

test: fmt vet
go test -race -cover ./...

webtest:
go test -coverprofile=testcoverage.out
go tool cover -html=testcoverage.out

apitest:
./apitest --stop-on-fail -d test/
Expand All @@ -12,7 +21,7 @@ gox:
gox ${LDFLAGS} -parallel=4 -output="./bin/apitest_{{.OS}}_{{.Arch}}"

clean:
rm -rfv ./apitest ./bin/*
rm -rfv ./apitest ./bin/* ./testcoverage.out

build:
go build
Expand Down

0 comments on commit 354654d

Please sign in to comment.