From 5acff13ac5333ed1ad12e4dddaf664544e139e81 Mon Sep 17 00:00:00 2001 From: Paul Bonser Date: Tue, 27 Sep 2016 14:46:09 -0500 Subject: [PATCH] Just build ginkgo into vendor/bin and use that --- .travis.yml | 1 - Makefile | 7 ++++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index a7e8c2b..2b494e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,6 @@ before_script: install: - go get github.com/Masterminds/glide - - go get github.com/onsi/ginkgo/ginkgo script: - make test diff --git a/Makefile b/Makefile index d27ce07..85513fe 100644 --- a/Makefile +++ b/Makefile @@ -5,10 +5,11 @@ help: @echo "- watch: watch for changes and re-run tests" deps: - glide install + glide install && mkdir -p vendor/bin && go build -o vendor/bin/ginkgo github.com/onsi/ginkgo/ginkgo + test: deps - ginkgo -race -randomizeAllSpecs -r -skipPackage vendor -progress . + vendor/bin/ginkgo -race -randomizeAllSpecs -r -skipPackage vendor -progress . watch: deps - ginkgo watch -race -randomizeAllSpecs -r -skipPackage vendor -progress -notify . + vendor/bin/ginkgo watch -race -randomizeAllSpecs -r -skipPackage vendor -progress -notify .