Skip to content

Instantly share code, notes, and snippets.

@timhughes
Last active November 14, 2016 06:22
Bash continuous integration for Golang on Linux
#! /bin/sh
#
# ci.sh
# Copyright (C) 2014 Tim Hughes <thughes@thegoldfish.org>
#
# 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