pcmt/.air.toml

45 lines
935 B
INI

root = "."
testdata_dir = "testdata"
tmp_dir = "tmp"
[build]
bin = "./pcmt"
args_bin = ["-devel"]
cmd = "go mod tidy && go build -v -ldflags=\"-X main.version=$(git rev-parse --short HEAD)-air\" ."
delay = 700 # ms
exclude_dir = ["assets", "tmp", "vendor", "testdata", "node_modules", "static", "templates", "dist"]
exclude_file = []
exclude_regex = ["_test.go", "node_modules/*"]
exclude_unchanged = true
follow_symlink = false
full_bin = ""
include_dir = []
include_ext = ["go", "tmpl", "html", "dhall"]
include_file = []
kill_delay = 200
log = "air.log"
poll = false
poll_interval = 0
rerun = false
rerun_delay = 500
send_interrupt = true
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
[screen]
clear_on_rebuild = false
keep_scroll = true