Last active
November 14, 2016 06:22
-
-
Save timhughes/77a72cb5a2fc52425e9c to your computer and use it in GitHub Desktop.
Bash continuous integration for Golang on Linux
This file contains hidden or 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 | |
# | |
# ci.sh | |
# Copyright (C) 2014 Tim Hughes <[email protected]> | |
# | |
# Distributed under terms of the MIT license. | |
# | |
while true | |
do | |
$* # run our command | |
sleep 1 # This lets go test clean up some temp files | |
inotifywait -e modify --recursive . 2>/dev/null | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment