Skip to content
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.

Commit

Permalink
Add support for testing some of the primitive shell scripts we will need
Browse files Browse the repository at this point in the history
  • Loading branch information
R. Tyler Croy committed Jan 4, 2018
1 parent cb8cf63 commit de8fa32
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
*.sw*
vendor/
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions t/base/includes.bats
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bats

@test "exact match" {
}

0 comments on commit de8fa32

Please sign in to comment.