Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CGO_ENABLED:=0
- check:
- gofmt -s -l -d .
- goimports -l -d .
- goreturns -l -d .
- golangci-lint \
- --enable-all \
- ./...
- build:
- go build \
- -tags 'static' \
- -ldflags '-w -extldflags "-static"' \
- .
- clean:
- true
- .PHONY: all
- all: check build clean
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement