Add support for testing some of the primitive shell scripts we will need
This commit is contained in:
parent
cb8cf635df
commit
de8fa321ea
|
@ -20,3 +20,5 @@
|
|||
|
||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
||||
hs_err_pid*
|
||||
*.sw*
|
||||
vendor/
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
check: vendor/bats
|
||||
./vendor/bats/bin/bats $(wildcard t/*.bats) $(wildcard t/**/*.bats)
|
||||
|
||||
vendor/bats:
|
||||
mkdir -p vendor
|
||||
git clone --depth 1 \
|
||||
-b v0.4.0 \
|
||||
https://github.com/sstephenson/bats.git $@
|
||||
|
||||
|
||||
.PHONY: check
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bats
|
||||
|
||||
@test "exact match" {
|
||||
}
|
Loading…
Reference in New Issue