Merge pull request #217 from joshrabinowitz/bats-core-shallow-clone

optimize git checkout of v1.0.2 tag of bats-core
pull/218/head
Josh Rabinowitz 6 years ago committed by GitHub
commit fe1681aeb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save