@@ -2,9 +2,9 @@ before:
hooks:
- go mod download
builds:
- - env:
- - CGO_ENABLED=0
-
+ env:
+ - CGO_ENABLED=0
main: ./main.go
binary: giter
ldflags: -s -w -X main.version={{.Version}}
@@ -10,7 +10,7 @@ setup:
# Build all files.
build:
@echo "==> Building"
- @go build
+ @go build -o bin/giter
.PHONY: build
# Run all the linters