Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 01:44:24 +01:00
forgejo/.air.toml
Gusted 293544587c
Fix make watch for generated files (#20794)
- Don't rebuild the binary when generated files are updated, which is the
case by-default when running `make watch`.
2022-08-14 22:22:09 +01:00

11 lines
325 B
TOML

root = "."
tmp_dir = ".air"
[build]
cmd = "make backend"
bin = "gitea"
include_ext = ["go", "tmpl"]
exclude_dir = ["modules/git/tests", "services/gitdiff/testdata", "modules/avatar/testdata"]
include_dir = ["cmd", "models", "modules", "options", "routers", "services", "templates"]
exclude_regex = ["_test.go$", "_gen.go$"]