github.com/daixiang0/gci@v0.13.0/Makefile (about) 1 .PHONY: clean generate test build 2 3 BIN_OUTPUT := $(if $(filter $(shell go env GOOS), windows), dist/gci.exe, dist/gci) 4 5 default: clean generate test build 6 7 clean: 8 @echo BIN_OUTPUT: ${BIN_OUTPUT} 9 @rm -rf dist cover.out 10 11 build: clean 12 @go build -v -trimpath -o ${BIN_OUTPUT} . 13 14 test: clean 15 @go test -v -count=1 -cover ./... 16 17 generate: 18 @go generate ./...