2014-07-26 12:24:27 +08:00
|
|
|
[run]
|
2014-10-10 07:01:22 +08:00
|
|
|
init_cmds = [
|
|
|
|
["grep", "-rn", "FIXME", "."],
|
|
|
|
["./gogs", "web"]
|
|
|
|
]
|
2014-07-26 12:24:27 +08:00
|
|
|
watch_all = true
|
|
|
|
watch_dirs = [
|
|
|
|
"$WORKDIR/conf/locale",
|
|
|
|
"$WORKDIR/cmd",
|
|
|
|
"$WORKDIR/models",
|
|
|
|
"$WORKDIR/modules",
|
|
|
|
"$WORKDIR/routers"
|
|
|
|
]
|
|
|
|
watch_exts = [".go", ".ini"]
|
|
|
|
build_delay = 1500
|
|
|
|
cmds = [
|
2014-11-13 18:27:01 +08:00
|
|
|
["go", "install", "-tags", "sqlite cert"],# redis memcache
|
|
|
|
["go", "build", "-tags", "sqlite cert"],
|
2014-07-26 12:24:27 +08:00
|
|
|
["./gogs", "web"]
|
|
|
|
]
|