Skip to content

Commit

Permalink
Makefile: pass args to 'run' target
Browse files Browse the repository at this point in the history
  • Loading branch information
ekalinin committed Nov 7, 2021
1 parent f190cb3 commit fc3150e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ SRC_CMD=cmd/awsping/main.go
build:
go build -o ${EXEC} ${SRC_CMD}

# make run ARGS="-h"
run:
go run cmd/awsping/main.go
go run cmd/awsping/main.go $(ARGS)

test:
@go test -cover .
Expand Down

0 comments on commit fc3150e

Please sign in to comment.