This is my workflow for automatically building and testing Go code. It uses
steeloverseer to watch
for changes to the tree and run the standard Go tools (vet
, build
, test
)
on the package as well as golint on any
changed files.
Install steeloverseer with
cabal install steeloverseer && cp ~/.cabal/bin/sos ~/bin
I keep the two shell scripts in my $HOME/bin
directory; they both need to be
chmod +x
.