2014-07-26 12:24:27 +08:00
|
|
|
[run]
|
2014-10-10 07:01:22 +08:00
|
|
|
init_cmds = [
|
2016-03-01 07:45:12 +08:00
|
|
|
["make", "build-dev", "TAGS=sqlite"],
|
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"]
|
2016-02-15 12:14:55 +08:00
|
|
|
ignore_files = [".+_test.go"]
|
2014-07-26 12:24:27 +08:00
|
|
|
build_delay = 1500
|
|
|
|
cmds = [
|
2016-08-15 20:53:47 +08:00
|
|
|
["make", "build-dev"], # TAGS=sqlite cert pam tidb
|
2014-07-26 12:24:27 +08:00
|
|
|
["./gogs", "web"]
|
|
|
|
]
|