From 9aa188af8c6ccf6653446bb7be9bdb20ed0ee266 Mon Sep 17 00:00:00 2001 From: Flavio Fois Date: Mon, 23 Mar 2026 08:42:26 +0100 Subject: [PATCH] update air configuration for binary name and additional file extensions Rename the output binary to emly-api.exe and expand the watcher to include .env, .sql, and .tmpl files. Additional directories like .idea, .vscode, and .claude are now excluded from the build watch. --- .air.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.air.toml b/.air.toml index 3d003b0..7db8bc4 100644 --- a/.air.toml +++ b/.air.toml @@ -1,5 +1,5 @@ [build] - cmd = "go build -o ./tmp/main.exe ." - bin = "./tmp/main.exe" - include_ext = ["go"] - exclude_dir = ["tmp", "vendor"] + entrypoint = ["./tmp/emly-api.exe"] + cmd = "go build -o ./tmp/emly-api.exe ." + include_ext = ["go", ".env", ".sql", ".tmpl"] + exclude_dir = ["tmp", "vendor", "build", ".git", ".claude", ".idea", ".vscode"]