2020-07-27 14:05:42 -04:00
|
|
|
root = "."
|
|
|
|
tmp_dir = ".air"
|
|
|
|
|
|
|
|
[build]
|
2023-05-24 16:11:04 -04:00
|
|
|
cmd = "make --no-print-directory backend"
|
2020-07-27 14:05:42 -04:00
|
|
|
bin = "gitea"
|
2023-04-23 13:26:22 -04:00
|
|
|
delay = 1000
|
2020-07-27 14:05:42 -04:00
|
|
|
include_ext = ["go", "tmpl"]
|
2023-04-22 14:53:00 -04:00
|
|
|
include_file = ["main.go"]
|
2022-12-27 01:00:34 -05:00
|
|
|
include_dir = ["cmd", "models", "modules", "options", "routers", "services"]
|
2024-03-20 22:17:59 -04:00
|
|
|
exclude_dir = [
|
|
|
|
"models/fixtures",
|
|
|
|
"models/migrations/fixtures",
|
|
|
|
"modules/avatar/identicon/testdata",
|
|
|
|
"modules/avatar/testdata",
|
|
|
|
"modules/git/tests",
|
|
|
|
"modules/migration/file_format_testdata",
|
|
|
|
"routers/private/tests",
|
|
|
|
"services/gitdiff/testdata",
|
|
|
|
]
|
2022-08-14 17:22:09 -04:00
|
|
|
exclude_regex = ["_test.go$", "_gen.go$"]
|
2023-04-30 18:31:16 -04:00
|
|
|
stop_on_error = true
|