1 Star 0 Fork 31

akira / elk-blog

forked from 杰克 / elk-blog 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.air.toml 983 Bytes
一键复制 编辑 原始数据 按行查看 历史
jikeytang 提交于 2022-08-18 16:42 . 增加评论回复,markdown编辑器
root = "."
testdata_dir = "testdata"
tmp_dir = "tmp"
[build]
bin = "tmp\\main.exe"
cmd = "go build -o ./tmp/main.exe ."
# 如果文件更改过于频繁,则没有必要在每次更改时都触发构建。可以设置触发构建的延迟时间
delay = 1000
# 忽略这些文件扩展名或目录
exclude_dir = ["assets", "tmp", "vendor", "testdata", "public", "public/uploads"]
# 忽略以下文件
exclude_file = []
exclude_regex = ["_test.go"]
exclude_unchanged = false
follow_symlink = false
full_bin = ""
include_dir = []
# 监听以下文件扩展名的文件.
include_ext = ["go", "tpl", "tmpl", "html", "env"]
# kill 命令延迟
kill_delay = "0s"
log = "build-errors.log"
send_interrupt = false
stop_on_error = true
[color]
app = ""
build = "yellow"
main = "magenta"
runner = "green"
watcher = "cyan"
[log]
time = false
[misc]
# 退出时删除tmp目录
clean_on_exit = false
[screen]
clear_on_rebuild = false
Go
1
https://gitee.com/idart/elk-blog.git
git@gitee.com:idart/elk-blog.git
idart
elk-blog
elk-blog
master

搜索帮助