You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.air.toml 566B

12345678910111213141516171819202122
  1. root = "."
  2. tmp_dir = ".air"
  3. [build]
  4. cmd = "make --no-print-directory backend"
  5. bin = "gitea"
  6. delay = 1000
  7. include_ext = ["go", "tmpl"]
  8. include_file = ["main.go"]
  9. include_dir = ["cmd", "models", "modules", "options", "routers", "services"]
  10. exclude_dir = [
  11. "models/fixtures",
  12. "models/migrations/fixtures",
  13. "modules/avatar/identicon/testdata",
  14. "modules/avatar/testdata",
  15. "modules/git/tests",
  16. "modules/migration/file_format_testdata",
  17. "routers/private/tests",
  18. "services/gitdiff/testdata",
  19. ]
  20. exclude_regex = ["_test.go$", "_gen.go$"]
  21. stop_on_error = true