diff --git a/.gitignore b/.gitignore index 6143e53..e03bbd8 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,5 @@ # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* +*.sw* +vendor/ diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..751cf8d --- /dev/null +++ b/Makefile @@ -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 diff --git a/t/base/includes.bats b/t/base/includes.bats new file mode 100644 index 0000000..2231a2b --- /dev/null +++ b/t/base/includes.bats @@ -0,0 +1,4 @@ +#!/usr/bin/env bats + +@test "exact match" { +}