pcmt/.air.toml

45 lines
935 B
INI
Raw Permalink Normal View History

2023-04-19 23:23:02 +02:00
root = "."
testdata_dir = "testdata"
tmp_dir = "tmp"
[build]
bin = "./pcmt"
2023-04-20 13:05:07 +02:00
args_bin = ["-devel"]
2023-04-20 13:21:34 +02:00
cmd = "go mod tidy && go build -v -ldflags=\"-X main.version=$(git rev-parse --short HEAD)-air\" ."
2023-05-06 13:49:23 +02:00
delay = 700 # ms
2023-08-05 15:02:26 +02:00
exclude_dir = ["assets", "tmp", "vendor", "testdata", "node_modules", "static", "templates", "dist"]
2023-04-19 23:23:02 +02:00
exclude_file = []
exclude_regex = ["_test.go", "node_modules/*"]
2023-05-06 13:49:23 +02:00
exclude_unchanged = true
2023-04-19 23:23:02 +02:00
follow_symlink = false
full_bin = ""
include_dir = []
include_ext = ["go", "tmpl", "html", "dhall"]
include_file = []
2023-05-06 13:49:23 +02:00
kill_delay = 200
log = "air.log"
2023-04-19 23:23:02 +02:00
poll = false
poll_interval = 0
rerun = false
rerun_delay = 500
2023-05-06 13:49:23 +02:00
send_interrupt = true
2023-04-19 23:23:02 +02:00
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