Skip to content

Commit 038b887

Browse files
author
Otávio Fernandes
committed
Makefile target for go run command.
1 parent 69a8f6f commit 038b887

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ clean:
3131
clean-vendor:
3232
rm -rf ./vendor > /dev/null
3333

34+
run:
35+
go run -v cmd/$(APP)/* $(filter-out $@,$(MAKECMDGOALS))
36+
3437
test:
3538
go test -race -coverprofile=coverage.txt -covermode=atomic -cover -v pkg/$(APP)/*
3639

0 commit comments

Comments
 (0)