diff options
author | navanchauhan <navanchauhan@gmail.com> | 2022-10-15 20:46:13 -0600 |
---|---|---|
committer | navanchauhan <navanchauhan@gmail.com> | 2022-10-15 20:46:13 -0600 |
commit | 2d3b467780adea466050232f0673d4af8c09ce19 (patch) | |
tree | 05b08eae28a514162415be8d836eac97f58e60f3 | |
parent | 0e2444e6afd9df38b740bd6fdcaff0f95321c325 (diff) |
add air config
-rw-r--r-- | .air.toml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/.air.toml b/.air.toml new file mode 100644 index 0000000..ee48bdd --- /dev/null +++ b/.air.toml @@ -0,0 +1,37 @@ +root = "." +testdata_dir = "testdata" +tmp_dir = "tmp" + +[build] + args_bin = [] + bin = "./tmp/main" + cmd = "go build -o ./tmp/main ." + delay = 1000 + exclude_dir = ["assets", "tmp", "vendor", "testdata"] + exclude_file = [] + exclude_regex = ["_test.go"] + exclude_unchanged = false + follow_symlink = false + full_bin = "" + include_dir = [] + include_ext = ["go", "tpl", "tmpl", "html", "gtpl"] + 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] + clean_on_exit = false + +[screen] + clear_on_rebuild = false |