Popularity
5.9
Declining
Activity
0.0
Stable
228
18
39

Programming language: Go
Latest version: v1.0._beta2

dogo alternatives and similar packages

Based on the "DevOps Tools" category

Do you think we are missing an alternative of dogo or a related project?

Add another 'DevOps Tools' Package

README

dogo

Build Status Coverage License

Monitoring changes in the source file and automatically compile and run (restart).

[中文](doc/zh/README.md)

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

[windows screen](doc/en/img/screen2.png)


*Note that all licence references and agreements mentioned in the dogo README section above are relevant to that project's source code only.