this tool to pull go project and automatic build and run it. identical to:
cd to\go\path\project
git pull
#if new push there
kill current process
go build -o output
./output
you can setting path of go source, delay time, branch, and output-name.
-
install
go get github.com/shouva/gorunner
-
run it!, process will error. this normal.
gorunner
- edit gorunner.json
{
"path":"~/codes/go/src/github.com/mosleim/gochanged",
"delay": 10,
"branch": "master",
"output": "output"
}
- run again!
gorunner
- Happy code and running. :-)
This repository is powered by CV. Otoritech and Shouva Store.