gitignore the output binaries
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/out/
|
||||||
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)" ""
|
ifeq "$(shell command -v go)" ""
|
||||||
prefix = podman run --interactive --tty --rm \
|
prefix = podman run --interactive --tty --rm \
|
||||||
@@ -15,6 +16,6 @@ run:
|
|||||||
test:
|
test:
|
||||||
$(prefix) go test ./... $(ARGS)
|
$(prefix) go test ./... $(ARGS)
|
||||||
build:
|
build:
|
||||||
$(prefix) go build -v $(GO_MODULE) $(ARGS)
|
$(prefix) go build -o $(OUTDIR)/ -v $(GO_MODULE) $(ARGS)
|
||||||
sh:
|
sh:
|
||||||
$(prefix) sh
|
$(prefix) sh
|
||||||
|
|||||||
Reference in New Issue
Block a user