github.com/metacubex/sing-shadowsocks2@v0.2.0/Makefile (about) 1 fmt: 2 @gofumpt -l -w . 3 @gofmt -s -w . 4 @gci write --custom-order -s standard -s "prefix(github.com/sagernet/)" -s "default" . 5 6 fmt_install: 7 go install -v mvdan.cc/gofumpt@latest 8 go install -v github.com/daixiang0/gci@latest 9 10 lint: 11 GOOS=linux golangci-lint run ./... 12 GOOS=android golangci-lint run ./... 13 GOOS=windows golangci-lint run ./... 14 GOOS=darwin golangci-lint run ./... 15 GOOS=freebsd golangci-lint run ./... 16 17 lint_install: 18 go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest 19 20 test: 21 go test -v ./...