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.
This commit is contained in:
Flavio Fois
2026-03-23 08:42:26 +01:00
parent da650c2b82
commit 9aa188af8c

View File

@@ -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"]