gitignore the output binaries

This commit is contained in:
2024-03-06 12:58:34 +05:30
parent 7910cec1e0
commit 69d2eb70a1
2 changed files with 5 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/out/

View File

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