From bf770ee0dba416e59ed14313ea047417711f4fc4 Mon Sep 17 00:00:00 2001 From: strNophix Date: Sat, 27 Aug 2022 14:00:41 +0200 Subject: [PATCH] Added air --- .air.toml | 37 +++++++++++++++++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 38 insertions(+) create mode 100644 .air.toml diff --git a/.air.toml b/.air.toml new file mode 100644 index 0000000..5e0318c --- /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"] + 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 diff --git a/.gitignore b/.gitignore index 43683e8..5b8c827 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ go.work # Artefacts 5feet11 +tmp