Created
February 27, 2012 10:10
-
-
Save dhepper/1922945 to your computer and use it in GitHub Desktop.
Poor man's CI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
touch -t 197001010101 .last_run | |
while `true` | |
do | |
if [ ! -z "`find . -name \"*.py\" -cnewer .last_run 2>/dev/null`" ] ; then | |
django-admin.py test main | |
touch .last_run | |
fi | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment