bash-it/test/run

7 lines
204 B
Bash
Executable File

#!/usr/bin/env bash
PATH=$PATH:$(pwd)/bats/bin
set +e
[[ -z "$(which bats)" ]] && git clone --depth 1 https://github.com/sstephenson/bats.git
set -e
exec ./bats/bin/bats ${CI:+--tap} ./test/{lib,plugins}