.air.toml

 1# SPDX-FileCopyrightText: Amolith <amolith@secluded.site>
 2#
 3# SPDX-License-Identifier: CC0-1.0
 4
 5root = "."
 6tmp_dir = "tmp"
 7
 8[build]
 9  bin = "./tmp/willow"
10  cmd = "go build -o ./tmp/willow ./cmd"
11  delay = 1000
12  exclude_dir = ["assets", "tmp", "vendor", "testdata", "data", "website"]
13  exclude_file = []
14  exclude_regex = ["_test.go"]
15  exclude_unchanged = false
16  follow_symlink = false
17  full_bin = ""
18  include_dir = []
19  include_ext = ["go", "tpl", "tmpl", "html", "css"]
20  include_file = []
21  kill_delay = "0s"
22  log = "build-errors.log"
23  poll = false
24  poll_interval = 0
25  post_cmd = []
26  pre_cmd = []
27  rerun = false
28  rerun_delay = 500
29  send_interrupt = false
30  stop_on_error = false
31
32[color]
33  app = ""
34  build = "yellow"
35  main = "magenta"
36  runner = "green"
37  watcher = "cyan"
38
39[log]
40  main_only = false
41  time = false
42
43[misc]
44  clean_on_exit = true
45
46[screen]
47  clear_on_rebuild = true
48  keep_scroll = true