mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-24 17:30:51 +08:00
20 lines
369 B
TOML
20 lines
369 B
TOML
[run]
|
|
init_cmds = [
|
|
#["grep", "-rn", "FIXME", "."],
|
|
["./gogs", "web"]
|
|
]
|
|
watch_all = true
|
|
watch_dirs = [
|
|
"$WORKDIR/cmd",
|
|
"$WORKDIR/models",
|
|
"$WORKDIR/modules",
|
|
"$WORKDIR/routers"
|
|
]
|
|
watch_exts = [".go"]
|
|
build_delay = 1500
|
|
cmds = [
|
|
["go", "install"],
|
|
["go", "install", "-race"], # sqlite redis memcache cert pam tidb
|
|
["go", "build", "-race"],
|
|
["./gogs", "web"]
|
|
] |