diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-16 23:20:23 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-16 23:23:43 +0200 |
commit | 1d678dfdfa026968dbb19795c9bed16385603b21 (patch) | |
tree | cac862609d0103ee30da39cd0054b11884248e9d /vendor/github.com/kevinburke/go.uuid/Makefile | |
parent | 131a862d313f12808d63e832126317a27226940b (diff) | |
download | git-bug-1d678dfdfa026968dbb19795c9bed16385603b21.tar.gz |
vendor dependencies with dep
Diffstat (limited to 'vendor/github.com/kevinburke/go.uuid/Makefile')
-rw-r--r-- | vendor/github.com/kevinburke/go.uuid/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/github.com/kevinburke/go.uuid/Makefile b/vendor/github.com/kevinburke/go.uuid/Makefile new file mode 100644 index 00000000..344b2381 --- /dev/null +++ b/vendor/github.com/kevinburke/go.uuid/Makefile @@ -0,0 +1,21 @@ +MEGACHECK := $(GOPATH)/bin/megacheck +UNAME = $(shell uname -s) +export GOROOT = $(shell go env GOROOT) + +test: + go test ./... + +race-test: + go test -race ./... + +$(MEGACHECK): +ifeq ($(UNAME),Darwin) + curl --silent --location --output $(MEGACHECK) https://github.com/kevinburke/go-tools/releases/download/2018-01-25/megacheck-darwin-amd64 +else + curl --silent --location --output $(MEGACHECK) https://github.com/kevinburke/go-tools/releases/download/2018-01-25/megacheck-linux-amd64 +endif + chmod +x $(MEGACHECK) + +lint: $(MEGACHECK) + $(MEGACHECK) ./... + go vet ./... |