aboutsummaryrefslogtreecommitdiff
path: root/.air.toml
diff options
context:
space:
mode:
authorsilverwind2021-10-19 18:27:29 +0200
committerGitHub2021-10-20 00:27:29 +0800
commitde61816623b80bfdc45b51bbce75f4d388da7218 (patch)
tree6e8bc60acada16d8eb97f2f08465c6e6e6c451a5 /.air.toml
parent9f3d5c0a23e5235c613243bc921a880aa6eba6bc (diff)
Rename .air.conf to .air.toml (#17360)
As of https://github.com/cosmtrek/air/pull/90, the preferred file extension is .toml. The file format was always toml itself.
Diffstat (limited to '.air.toml')
-rw-r--r--.air.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.air.toml b/.air.toml
new file mode 100644
index 000000000..7b5a5cb86
--- /dev/null
+++ b/.air.toml
@@ -0,0 +1,9 @@
+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"]