프로젝트
GitHub에서 보기
liudng/dogo
소개
소스 파일의 변경 사항을 감지해 프로그램을 자동으로 다시 컴파일하고 실행합니다.
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originaldogo
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

관련 프로젝트 살펴보기
불러오는 중…