2014-07-26 12:24:27 +08:00
|
|
|
[run]
|
2014-10-10 07:01:22 +08:00
|
|
|
init_cmds = [
|
2015-02-27 08:45:38 +08:00
|
|
|
#["grep", "-rn", "FIXME", "."],
|
2014-10-10 07:01:22 +08:00
|
|
|
["./gogs", "web"]
|
|
|
|
]
|
2014-07-26 12:24:27 +08:00
|
|
|
watch_all = true
|
|
|
|
watch_dirs = [
|
|
|
|
"$WORKDIR/cmd",
|
|
|
|
"$WORKDIR/models",
|
|
|
|
"$WORKDIR/modules",
|
|
|
|
"$WORKDIR/routers"
|
|
|
|
]
|
2015-03-20 15:20:05 +08:00
|
|
|
watch_exts = [".go"]
|
2014-07-26 12:24:27 +08:00
|
|
|
build_delay = 1500
|
|
|
|
cmds = [
|
2015-03-18 18:37:44 +08:00
|
|
|
#["go-bindata", "-o=modules/bindata/bindata.go", "-ignore=\\.DS_Store|README", "-pkg=bindata", "conf/..."],
|
2015-07-14 22:56:02 +08:00
|
|
|
["go", "install", "-tags", "sqlite"],# redis memcache cert pam
|
|
|
|
["go", "build", "-tags", "sqlite"],
|
2014-07-26 12:24:27 +08:00
|
|
|
["./gogs", "web"]
|
|
|
|
]
|