From bd9d41e161e573b86382cfc9f0412a1f69bf5352 Mon Sep 17 00:00:00 2001 From: MacBook Air M1 Date: Wed, 14 Jan 2026 11:20:42 +0700 Subject: [PATCH] fix(BE): add .air.toml --- .air.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .air.toml diff --git a/.air.toml b/.air.toml new file mode 100644 index 00000000..c463b5b2 --- /dev/null +++ b/.air.toml @@ -0,0 +1,13 @@ +# .air.toml +root = "." +tmp_dir = "tmp" + +[build] +cmd = "go build -buildvcs=false -o ./tmp/main ./cmd/api" +bin = "tmp/main" +full_bin = "APP_ENV=dev ./tmp/main" +include_ext = ["go", "tpl", "tmpl", "html"] +exclude_dir = ["vendor", "tmp"] + +[log] +time = true