Update makefile

This commit is contained in:
Eden Kirin
2023-10-26 13:28:10 +02:00
parent 45f6f19441
commit c1997aaab5
2 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
/.vscode /.vscode
/__debug* /__debug*
/build
/tmp /tmp
/config.yaml /config.yaml

View File

@ -1,2 +1,8 @@
EXEC=iris-test
run: run:
@air @air
.PHONY: build
build:
@go build -ldflags "-s -w" -o ./build/${EXEC} ./app/main.go