19 lines
340 B
TOML
19 lines
340 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", "-v", "-race"], # sqlite cert pam tidb
|
|
["go", "build", "-race"],
|
|
["./gogs", "web"]
|
|
] |