optimize git checkout of v1.0.2 tag of bats-core

pull/217/head
Josh Rabinowitz 6 years ago
parent 84f4a65adc
commit 71d89f5daf

@ -36,8 +36,7 @@ uninstall:
.PHONY: install-test
install-test:
@if [ ! -d "vendor/bats-core" ]; then \
git clone https://github.com/bats-core/bats-core.git vendor/bats-core; \
cd vendor/bats-core && git checkout v1.0.2; \
git clone --depth 1 -b v1.0.2 https://github.com/bats-core/bats-core.git vendor/bats-core; \
fi
.PHONY: test

Loading…
Cancel
Save