Build go projects automatically when files are modified.
go get github.com/v4run/bob
With GOPATH/bin
in PATH
,
Usage: bob [options]
options:
-p, -path Directory The directory to watch.
-n, -name Name The name for binary file.
-e, -env Environment file path Path to file containing environment variables to be set for the service.
-b, -buildonly Build only mode Just do a build when a change is detected.
-c, -commands Custom commands to run Run custom command after build.
-v, -version Version Prints the version.
-h, -help Help Show this help.