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 674B

1234567891011121314151617181920212223
  1. root = "."
  2. tmp_dir = ".air"
  3. [build]
  4. pre_cmd = ["killall -9 gitea 2>/dev/null || true"] # kill off potential zombie processes from previous runs
  5. cmd = "make --no-print-directory backend"
  6. bin = "gitea"
  7. delay = 2000
  8. include_ext = ["go", "tmpl"]
  9. include_file = ["main.go"]
  10. include_dir = ["cmd", "models", "modules", "options", "routers", "services"]
  11. exclude_dir = [
  12. "models/fixtures",
  13. "models/migrations/fixtures",
  14. "modules/avatar/identicon/testdata",
  15. "modules/avatar/testdata",
  16. "modules/git/tests",
  17. "modules/migration/file_format_testdata",
  18. "routers/private/tests",
  19. "services/gitdiff/testdata",
  20. ]
  21. exclude_regex = ["_test.go$", "_gen.go$"]
  22. stop_on_error = true