2014-07-26 04:24:27 +00:00
|
|
|
[run]
|
2014-10-09 23:01:22 +00:00
|
|
|
init_cmds = [
|
2015-02-27 00:45:38 +00:00
|
|
|
#["grep", "-rn", "FIXME", "."],
|
2014-10-09 23:01:22 +00:00
|
|
|
["./gogs", "web"]
|
|
|
|
]
|
2014-07-26 04:24:27 +00: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 = [
|
2015-03-18 10:37:44 +00:00
|
|
|
#["go-bindata", "-o=modules/bindata/bindata.go", "-ignore=\\.DS_Store|README", "-pkg=bindata", "conf/..."],
|
2014-11-13 10:27:01 +00:00
|
|
|
["go", "install", "-tags", "sqlite cert"],# redis memcache
|
|
|
|
["go", "build", "-tags", "sqlite cert"],
|
2014-07-26 04:24:27 +00:00
|
|
|
["./gogs", "web"]
|
|
|
|
]
|