Ronbun/.air.toml

52 lines
1,021 B
TOML

root = "."
testdata_dir = "testdata"
tmp_dir = "build"
[build]
args_bin = []
entrypoint = "./build/ronbun"
cmd = "go build -ldflags='-s -w' -o ./build/ronbun ./cmd/web"
delay = 500
exclude_dir = ["ui/static", "build", "vendor", "testdata", "processed", "tls", "tmp", "tooling", "uploaded"]
exclude_file = [".air.toml"]
exclude_regex = ["_test.go", "\\.air\\.toml"]
exclude_unchanged = true
follow_symlink = false
full_bin = ""
include_dir = []
include_ext = ["go", "tmpl", "css", "js"]
include_file = []
kill_delay = 0
log = "build-errors.log"
poll = false
poll_interval = 100
pre_cmd = [
"./tooling/lightningcss --minify --bundle ./ui/css/index.css -o ./ui/static/index.css",
]
rerun = true
rerun_delay = 300
send_interrupt = false
stop_on_error = false
[color]
app = ""
build = "yellow"
main = "magenta"
runner = "green"
watcher = "cyan"
[log]
main_only = false
time = false
[misc]
clean_on_exit = false
[proxy]
app_port = 0
enabled = false
proxy_port = 0
[screen]
clear_on_rebuild = false
keep_scroll = true