2017-05-31 12:51:23 +00:00
|
|
|
SHARNESS_VERSION=v1.0.0
|
|
|
|
|
2017-04-19 14:42:35 +00:00
|
|
|
publish:
|
|
|
|
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
|
|
|
|
bash golang.sh
|
2017-05-31 12:51:23 +00:00
|
|
|
|
|
|
|
update-sharness:
|
|
|
|
curl -sSLo ./integration/sharness.sh https://cdn.rawgit.com/chriscool/sharness/$(SHARNESS_VERSION)/sharness.sh
|
|
|
|
curl -sSLo ./integration/aggregate-results.sh https://cdn.rawgit.com/chriscool/sharness/$(SHARNESS_VERSION)/aggregate-results.sh
|
|
|
|
curl -sSLo ./integration/Makefile https://cdn.rawgit.com/chriscool/sharness/$(SHARNESS_VERSION)/test/Makefile
|
|
|
|
|
2018-07-03 07:46:37 +00:00
|
|
|
generate:
|
|
|
|
go-bindata -o assets.go assets/...
|
|
|
|
gofmt -s -w assets.go
|
|
|
|
|
2017-05-31 12:51:23 +00:00
|
|
|
test:
|
|
|
|
go test .
|
|
|
|
go vet .
|
|
|
|
|
|
|
|
integration: install
|
|
|
|
cd integration && make all
|
|
|
|
|
|
|
|
install: test
|
2020-08-07 13:44:47 +00:00
|
|
|
go install -a -ldflags="-X main.version=$(shell git describe --tags)" -mod=readonly
|
2017-05-31 12:51:23 +00:00
|
|
|
|
|
|
|
.PHONY: integration
|