shouva / gorunner

Automate Run && Pull go project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GoRunner

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.

How to Use

  1. install go get github.com/shouva/gorunner

  2. run it!, process will error. this normal.

gorunner
  1. edit gorunner.json
{
    "path":"~/codes/go/src/github.com/mosleim/gochanged",
    "delay": 10,
    "branch": "master",
    "output": "output"
}
  1. run again!
gorunner
  1. Happy code and running. :-)

This repository is powered by CV. Otoritech and Shouva Store.

About

Automate Run && Pull go project


Languages

Language:Go 100.0%