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