From c1997aaab56dae81906fe0aa19ca27bab332ca12 Mon Sep 17 00:00:00 2001 From: Eden Kirin Date: Thu, 26 Oct 2023 13:28:10 +0200 Subject: [PATCH] Update makefile --- .gitignore | 1 + Makefile | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index f083045..5f3fb99 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /.vscode /__debug* +/build /tmp /config.yaml diff --git a/Makefile b/Makefile index d94f680..81a87aa 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,8 @@ +EXEC=iris-test + run: @air + +.PHONY: build +build: + @go build -ldflags "-s -w" -o ./build/${EXEC} ./app/main.go