This is a prototype that i'm attempting to "release early". Expect a lot of changes! It is intended to be a config management tool that will: * be event based * execute actions in parallel * function as a distributed system There are a bunch more design ideas going into this, please stay tuned!
12 lines
384 B
Bash
Executable File
12 lines
384 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
# test suite...
|
|
echo running test.sh
|
|
|
|
# ensure there is no trailing whitespace or other whitespace errors
|
|
git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
|
|
|
|
# ensure entries to authors file are sorted
|
|
start=$(($(grep -n '^[[:space:]]*$' AUTHORS | awk -F ':' '{print $1}' | head -1) + 1))
|
|
diff <(tail -n +$start AUTHORS | sort) <(tail -n +$start AUTHORS)
|