Skip to content

Commit

Permalink
Makefile target for go run command.
Browse files Browse the repository at this point in the history
  • Loading branch information
Otávio Fernandes committed Mar 30, 2019
1 parent 69a8f6f commit 038b887
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ clean:
clean-vendor:
rm -rf ./vendor > /dev/null

run:
go run -v cmd/$(APP)/* $(filter-out $@,$(MAKECMDGOALS))

test:
go test -race -coverprofile=coverage.txt -covermode=atomic -cover -v pkg/$(APP)/*

Expand Down

0 comments on commit 038b887

Please sign in to comment.