Skip to content

Commit

Permalink
Updated Makefile
Browse files Browse the repository at this point in the history
Added deps as target to the Makefile
  • Loading branch information
leonsteinhaeuser committed Mar 25, 2021
1 parent dcc52cc commit 083993e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
all: test build

deps:
go get ./...

vet:
go vet ./...

fmt:
go fmt ./...

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

webtest:
Expand All @@ -23,7 +26,7 @@ gox:
clean:
rm -rfv ./apitest ./bin/* ./testcoverage.out

build:
build: deps
go build

.PHONY: all test apitest webtest gox build clean

0 comments on commit 083993e

Please sign in to comment.