cli/Makefile
2019-10-17 02:25:59 +02:00

12 lines
No EOL
205 B
Makefile

BUILD_FILES = $(shell go list -f '{{range .GoFiles}}{{$$.Dir}}/{{.}}\
{{end}}' ./...)
# export GOFLAGS := -mod=vendor $GOFLAGS
bin/gh: $(BUILD_FILES)
go build -o "$@"
test:
go test ./...
.PHONY: test