gitignore the output binaries
This commit is contained in:
7
Makefile
7
Makefile
@@ -1,5 +1,6 @@
|
||||
GO_MODULE = gitea.kevinnlsamuel.com/kevinnls/qc
|
||||
|
||||
MOD_NAME = qc
|
||||
GO_MODULE = gitea.kevinnlsamuel.com/kevinnls/$(MOD_NAME)
|
||||
OUTDIR = out/
|
||||
|
||||
ifeq "$(shell command -v go)" ""
|
||||
prefix = podman run --interactive --tty --rm \
|
||||
@@ -15,6 +16,6 @@ run:
|
||||
test:
|
||||
$(prefix) go test ./... $(ARGS)
|
||||
build:
|
||||
$(prefix) go build -v $(GO_MODULE) $(ARGS)
|
||||
$(prefix) go build -o $(OUTDIR)/ -v $(GO_MODULE) $(ARGS)
|
||||
sh:
|
||||
$(prefix) sh
|
||||
|
||||
Reference in New Issue
Block a user