Move stuff into commands and write tests.

This commit is contained in:
Anthony Sottile 2014-04-13 14:07:52 -07:00
parent 47c68820d0
commit 5eda121260
8 changed files with 243 additions and 119 deletions

View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
echo 'Fail'
echo $@
exit 1

View file

@ -0,0 +1,4 @@
- id: failing_hook
name: Failing hook
entry: bin/hook.sh
language: script

View file

@ -1,5 +0,0 @@
import os
def func():
print os.getcwd()
return 0