2014-07-26 13:24:27 +09:00
|
|
|
[run]
|
2014-10-10 08:01:22 +09:00
|
|
|
init_cmds = [
|
2015-02-27 09:45:38 +09:00
|
|
|
#["grep", "-rn", "FIXME", "."],
|
2014-10-10 08:01:22 +09:00
|
|
|
["./gogs", "web"]
|
|
|
|
]
|
2014-07-26 13:24:27 +09:00
|
|
|
watch_all = true
|
|
|
|
watch_dirs = [
|
|
|
|
"$WORKDIR/cmd",
|
|
|
|
"$WORKDIR/models",
|
|
|
|
"$WORKDIR/modules",
|
|
|
|
"$WORKDIR/routers"
|
|
|
|
]
|
2015-03-20 16:20:05 +09:00
|
|
|
watch_exts = [".go"]
|
2014-07-26 13:24:27 +09:00
|
|
|
build_delay = 1500
|
|
|
|
cmds = [
|
2016-02-11 05:21:39 +09:00
|
|
|
["go", "install", "-v", "-race"], # sqlite cert pam tidb
|
2015-11-14 06:43:43 +09:00
|
|
|
["go", "build", "-race"],
|
2014-07-26 13:24:27 +09:00
|
|
|
["./gogs", "web"]
|
|
|
|
]
|