mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-02 08:57:32 -04:00
297e772c20
When repository contains a Slack type hook, it changes original payload content. This patch fixes it by using a local object to store newly created Slack payload instead of assigning back to the same variable.
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"]
|
|
] |