Just build ginkgo into vendor/bin and use that
This commit is contained in:
parent
2bd116556b
commit
5acff13ac5
@ -25,7 +25,6 @@ before_script:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- go get github.com/Masterminds/glide
|
- go get github.com/Masterminds/glide
|
||||||
- go get github.com/onsi/ginkgo/ginkgo
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make test
|
- make test
|
||||||
|
7
Makefile
7
Makefile
@ -5,10 +5,11 @@ help:
|
|||||||
@echo "- watch: watch for changes and re-run tests"
|
@echo "- watch: watch for changes and re-run tests"
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
glide install
|
glide install && mkdir -p vendor/bin && go build -o vendor/bin/ginkgo github.com/onsi/ginkgo/ginkgo
|
||||||
|
|
||||||
|
|
||||||
test: deps
|
test: deps
|
||||||
ginkgo -race -randomizeAllSpecs -r -skipPackage vendor -progress .
|
vendor/bin/ginkgo -race -randomizeAllSpecs -r -skipPackage vendor -progress .
|
||||||
|
|
||||||
watch: deps
|
watch: deps
|
||||||
ginkgo watch -race -randomizeAllSpecs -r -skipPackage vendor -progress -notify .
|
vendor/bin/ginkgo watch -race -randomizeAllSpecs -r -skipPackage vendor -progress -notify .
|
||||||
|
Loading…
Reference in New Issue
Block a user