diff --git a/.gitignore b/.gitignore index fd2f16e..e6ef110 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ **/*~ /.idea /.goroot +/dist/** /blacklist.txt /check.sh /debug.sh diff --git a/Makefile b/Makefile index 4ef42b5..b816083 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ export PATH := $(PATH) all: fmt lintfix tidy test clean build clean: - rm -f ./gemini-grc + rm -f ./dist && mkdir ./dist debug: @echo "PATH: $(PATH)" @@ -35,7 +35,7 @@ lintfix: fmt golangci-lint run --fix build: - go build -race -o gemini-grc ./main.go + CGO_ENABLED=0 go build -o ./dist/gemini-grc ./main.go show-updates: go list -m -u all