Add make target `parallel`

This commit is contained in:
Tim Byrne 2017-01-16 17:01:53 -06:00
parent 672c985e88
commit 3f7e8b148e
No known key found for this signature in database
GPG Key ID: 6CBE24C2FD8CF76E
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,10 @@ pdf:
.PHONY: test
test: bats shellcheck
.PHONY: parallel
parallel:
ls test/*bats | time parallel -q -P0 -- docker run --rm -v "$$PWD:/yadm:ro" yadm/testbed bash -c 'bats {}'
.PHONY: bats
bats:
@echo Running all bats tests