プロジェクト
概要
ソースファイルの変更を監視し、変更があれば自動で再コンパイルして実行します。
システム・インフラ計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルdogo
Monitoring changes in the source file and automatically compile and run (restart).
Install
go get github.com/liudng/dogo
Create config
Here's a config file sample, save the file as dogo.json:
{
"WorkingDir": "{GOPATH}/src/github.com/liudng/dogo/example",
"SourceDir": [
"{GOPATH}/src/github.com/liudng/dogo/example"
],
"SourceExt": [".c", ".cpp", ".go", ".h"],
"BuildCmd": "go build github.com/liudng/dogo/example",
"RunCmd": "example.exe",
"Decreasing": 1
}
WorkingDir: working directory, dogo will auto change to this directory.
SourceDir: the list of source directories.
SourceExt: monitoring file type.
BuildCmd: the command of build and compile.
RunCmd: the program (full) path.
Decreasing: Ignore the number of modifies, it's only start counting after build success. Now it's supported in linux and windows.
Start monitoring
type the command to start:
dogo
or, specify a config file with -c
dogo -c=/path/to/dogo.json
the path can contain {GOPATH}.
screen capture

関連プロジェクトを探す
読み込み中…