Fix Makefile.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,6 +2,7 @@
|
|||||||
**/*~
|
**/*~
|
||||||
/.idea
|
/.idea
|
||||||
/.goroot
|
/.goroot
|
||||||
|
/dist/**
|
||||||
/blacklist.txt
|
/blacklist.txt
|
||||||
/check.sh
|
/check.sh
|
||||||
/debug.sh
|
/debug.sh
|
||||||
|
|||||||
4
Makefile
4
Makefile
@@ -4,7 +4,7 @@ export PATH := $(PATH)
|
|||||||
all: fmt lintfix tidy test clean build
|
all: fmt lintfix tidy test clean build
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f ./gemini-grc
|
rm -f ./dist && mkdir ./dist
|
||||||
|
|
||||||
debug:
|
debug:
|
||||||
@echo "PATH: $(PATH)"
|
@echo "PATH: $(PATH)"
|
||||||
@@ -35,7 +35,7 @@ lintfix: fmt
|
|||||||
golangci-lint run --fix
|
golangci-lint run --fix
|
||||||
|
|
||||||
build:
|
build:
|
||||||
go build -race -o gemini-grc ./main.go
|
CGO_ENABLED=0 go build -o ./dist/gemini-grc ./main.go
|
||||||
|
|
||||||
show-updates:
|
show-updates:
|
||||||
go list -m -u all
|
go list -m -u all
|
||||||
|
|||||||
Reference in New Issue
Block a user