Skip to content

Commit

Permalink
Merge pull request #15 from nrfta/chore/update-air-template
Browse files Browse the repository at this point in the history
chore: update air options after upgrade
  • Loading branch information
josemarluedke committed Jul 21, 2024
2 parents 7b29313 + c99d50b commit 148935f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/cli/start/air_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ func defaultAirConfig(appName string) string {
[build]
bin = "./bin/%s"
cmd = "go build -o ./bin/%s ."
exclude_dir = ["bin", "tests", "templates", "scripts", "db/migrations", "pkg/schemas"]
exclude_dir = ["bin", "tests", "templates", "scripts", "db", "build", "tmp"]
exclude_regex = ["_test.go"]
kill_delay = 500
send_interrupt = true
stop_on_error = true
[misc]
clean_on_exit = true
`

return fmt.Sprintf(template, appName, appName)
Expand Down

0 comments on commit 148935f

Please sign in to comment.