2014-04-06 23:12:19 +08:00
|
|
|
{
|
2014-04-07 00:19:59 +08:00
|
|
|
"paths": ["."],
|
2014-04-06 23:12:19 +08:00
|
|
|
"depth": 2,
|
2014-04-07 14:14:17 +08:00
|
|
|
"exclude": [],
|
2014-04-07 00:19:59 +08:00
|
|
|
"include": ["\\.go$"],
|
2014-04-06 23:12:19 +08:00
|
|
|
"command": [
|
|
|
|
"bash", "-c", "go build && ./gogs web"
|
|
|
|
],
|
|
|
|
"env": {
|
2014-04-07 00:19:59 +08:00
|
|
|
"POWERED_BY": "github.com/shxsun/fswatch"
|
2014-04-06 23:12:19 +08:00
|
|
|
},
|
2014-04-07 14:14:17 +08:00
|
|
|
"enable-restart": true
|
2014-04-06 23:12:19 +08:00
|
|
|
}
|