build: add correct build paths to makefile and add gitignore file

This commit is contained in:
2025-09-30 19:41:00 +05:30
parent 2253ec68d1
commit 13225f9075
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
dist

View File

@@ -1,9 +1,9 @@
all:
go mod tidy
go build -ldflags="-s -w" -trimpath -o ~/bin/test/envy .
go build -ldflags="-s -w" -trimpath -o ./dist/envy .
clean:
rm ~/bin/test/envy
dev:
go build -o ~/bin/test/envy .
go build -o ./dist/envy .