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