add ARGS variable to make target commands

This commit is contained in:
2024-01-16 19:40:59 +05:30
parent dc914f2927
commit a656070458

View File

@@ -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