aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/kevinburke/go.uuid/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/kevinburke/go.uuid/Makefile')
-rw-r--r--vendor/github.com/kevinburke/go.uuid/Makefile21
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 ./...