summaryrefslogtreecommitdiffstats
path: root/.air.toml
diff options
context:
space:
mode:
authorivar <i@oiee.no>2026-04-07 00:23:24 +0200
committerivar <i@oiee.no>2026-04-07 00:23:24 +0200
commit85920b8c7a2696115d1f77c046f48f6f00d639f1 (patch)
tree14ed2043796eadd6ed5b0a95c55e38e48713d638 /.air.toml
downloadiblog-85920b8c7a2696115d1f77c046f48f6f00d639f1.tar.xz
iblog-85920b8c7a2696115d1f77c046f48f6f00d639f1.zip
Init
Diffstat (limited to '.air.toml')
-rw-r--r--.air.toml58
1 files changed, 58 insertions, 0 deletions
diff --git a/.air.toml b/.air.toml
new file mode 100644
index 0000000..dc625de
--- /dev/null
+++ b/.air.toml
@@ -0,0 +1,58 @@
+#:schema https://json.schemastore.org/any.json
+
+env_files = []
+root = "."
+testdata_dir = "testdata"
+tmp_dir = "tmp"
+
+[build]
+ args_bin = ["serve", "--port", "8081"]
+ bin = "./tmp/main"
+ cmd = "go build -o ./tmp/main ./cmd/iblog"
+ delay = 200
+ entrypoint = ["./tmp/main"]
+ exclude_dir = [ "tmp", "vendor", "testdata", "public", "data", "content"]
+ exclude_file = []
+ exclude_regex = ["_test.go"]
+ exclude_unchanged = true
+ follow_symlink = false
+ full_bin = ""
+ ignore_dangerous_root_dir = false
+ include_dir = []
+ include_ext = ["go", "tpl", "tmpl", "html"]
+ include_file = []
+ kill_delay = "200ms"
+ log = "build-errors.log"
+ poll = false
+ poll_interval = 0
+ post_cmd = []
+ pre_cmd = []
+ rerun = false
+ rerun_delay = 500
+ send_interrupt = true
+ stop_on_error = false
+
+[color]
+ app = ""
+ build = "yellow"
+ main = "magenta"
+ runner = "green"
+ watcher = "cyan"
+
+[log]
+ main_only = false
+ silent = false
+ time = false
+
+[misc]
+ clean_on_exit = false
+
+[proxy]
+ app_port = 0
+ app_start_timeout = 0
+ enabled = false
+ proxy_port = 0
+
+[screen]
+ clear_on_rebuild = false
+ keep_scroll = true