code.gitea.io/gitea@v1.21.7/.air.toml (about) 1 root = "." 2 tmp_dir = ".air" 3 4 [build] 5 cmd = "make --no-print-directory backend" 6 bin = "gitea" 7 delay = 1000 8 include_ext = ["go", "tmpl"] 9 include_file = ["main.go"] 10 include_dir = ["cmd", "models", "modules", "options", "routers", "services"] 11 exclude_dir = ["modules/git/tests", "services/gitdiff/testdata", "modules/avatar/testdata", "models/fixtures", "models/migrations/fixtures", "modules/migration/file_format_testdata", "modules/avatar/identicon/testdata"] 12 exclude_regex = ["_test.go$", "_gen.go$"] 13 stop_on_error = true