diff --git a/.air.toml b/.air.toml new file mode 100644 index 0000000..4dc11c1 --- /dev/null +++ b/.air.toml @@ -0,0 +1,18 @@ +root = "." +testdata_dir = "testdata" +tmp_dir = "tmp" + +[build] + bin = "./tmp/main" + cmd = "go build -o ./tmp/main ." + delay = 1000 + exclude_dir = ["assets", "tmp", "vendor", "testdata"] + exclude_regex = ["_test.go"] + include_ext = ["go", "tpl", "tmpl", "html"] + +[misc] + clean_on_exit = true + +[screen] + clear_on_rebuild = true + keep_scroll = true