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:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user