2020-07-27 23:35:42 +05:30
|
|
|
root = "."
|
|
|
|
tmp_dir = ".air"
|
|
|
|
|
|
|
|
[build]
|
2023-05-25 01:41:04 +05:30
|
|
|
cmd = "make --no-print-directory backend"
|
2020-07-27 23:35:42 +05:30
|
|
|
bin = "gitea"
|
2023-04-23 22:56:22 +05:30
|
|
|
delay = 1000
|
2020-07-27 23:35:42 +05:30
|
|
|
include_ext = ["go", "tmpl"]
|
2023-04-23 00:23:00 +05:30
|
|
|
include_file = ["main.go"]
|
2022-12-27 11:30:34 +05:30
|
|
|
include_dir = ["cmd", "models", "modules", "options", "routers", "services"]
|
2024-03-21 07:47:59 +05:30
|
|
|
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-15 02:52:09 +05:30
|
|
|
exclude_regex = ["_test.go$", "_gen.go$"]
|
2023-05-01 04:01:16 +05:30
|
|
|
stop_on_error = true
|