Skip to content

Commit

Permalink
Add tests target to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
bittner authored and zugao committed Apr 23, 2020
1 parent 23927f8 commit 82887cf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
@@ -1,11 +1,15 @@
.PHONY: all build clean fmt
.PHONY: all build clean fmt tests

all: fmt build
all: clean fmt tests build

fmt:
@echo 'Reformat Go code ...'
find . -type f -name '*.go' -exec go fmt {} \;

tests:
@echo 'Run all tests ...'
go test ./...

build:
@echo 'Build seiso binary ...'
go build
Expand Down

0 comments on commit 82887cf

Please sign in to comment.