mirror of
https://gitee.com/gitea/gitea.git
synced 2024-12-01 03:08:02 +08:00
20 lines
465 B
TOML
20 lines
465 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-bindata", "-o=modules/bindata/bindata.go", "-ignore=\\.DS_Store|README", "-pkg=bindata", "conf/..."],
|
|
["go", "install", "-tags", "sqlite"],# redis memcache cert pam
|
|
["go", "build", "-tags", "sqlite"],
|
|
["./gogs", "web"]
|
|
] |