wings/Makefile

28 lines
439 B
Makefile
Raw Normal View History

2017-06-27 10:42:56 +00:00
BINARY = "build/wings"
all: $(BINARY)
$(BINARY):
go build -o $(BINARY)
cross-build:
gox -output "build/{{.Dir}}_{{.OS}}_{{.Arch}}"
.PHONY: install
install:
go install
test:
go test `go list ./... | grep -v "/vendor/"`
coverage:
goverage -coverprofile=coverage.out ./...
go tool cover -html=coverage.out
dependencies:
2017-06-27 10:44:42 +00:00
glide install
2017-06-27 10:42:56 +00:00
install-tools:
go get -u github.com/mitchellh/gox
go get -u github.com/haya14busa/goverage