add ARGS variable to make target commands
This commit is contained in:
6
Makefile
6
Makefile
@@ -7,10 +7,10 @@ prefix = podman run --interactive --tty --rm \
|
|||||||
golang:alpine
|
golang:alpine
|
||||||
|
|
||||||
run:
|
run:
|
||||||
$(prefix) go run $(GO_MODULE)
|
$(prefix) go run $(GO_MODULE) $(ARGS)
|
||||||
test:
|
test:
|
||||||
$(prefix) go test $(GO_MODULE)
|
$(prefix) go test $(GO_MODULE) $(ARGS)
|
||||||
build:
|
build:
|
||||||
$(prefix) go build -v $(GO_MODULE)
|
$(prefix) go build -v $(GO_MODULE) $(ARGS)
|
||||||
sh:
|
sh:
|
||||||
$(prefix) sh
|
$(prefix) sh
|
||||||
|
|||||||
Reference in New Issue
Block a user