Skip to content

Instantly share code, notes, and snippets.

@ojii
Created October 6, 2011 17:34
Show Gist options
  • Save ojii/1268048 to your computer and use it in GitHub Desktop.
Save ojii/1268048 to your computer and use it in GitHub Desktop.
local mini ci
#!/bin/sh
run_tests()
{
COMMAND TO RUN YOUR TESTS
if [ "$?" != "0" ]
then
notify-send "BUILD FAILED" -i "error"
else
notify-send "Build Successful"
fi
}
run_tests
while inotifywait --recursive --event modify py_src; do
run_tests
done
@KristianOellegaard
Copy link

Checkout this one as well, http://pypi.python.org/pypi/PyZen/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment