generated from overmindtech/source-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.air.toml
51 lines (46 loc) · 1.02 KB
/
.air.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
root = "."
testdata_dir = "testdata"
tmp_dir = "tmp"
[build]
args_bin = ["start"]
bin = "./tmp/main"
cmd = "go build -o ./tmp/main main.go"
delay = 1000
exclude_dir = ["assets", "build", "tmp", "vendor", "test", "testdata"]
exclude_file = ["server/admin/assets/dist.css"]
exclude_regex = [
"_test\\.go",
"_templ\\.go",
"\\.sql\\.go",
".*models/(models|copyfrom|db).go",
]
exclude_unchanged = false
follow_symlink = false
full_bin = "dlv exec --accept-multiclient --continue --headless --listen :9089 --api-version 2 ./tmp/main --"
include_dir = []
include_ext = ["go", "tpl", "tmpl", "templ", "html", "sql", "css", "md"]
include_file = ["sqlc.yaml"]
kill_delay = "0s"
log = "build-errors.log"
poll = false
poll_interval = 0
post_cmd = []
pre_cmd = []
rerun = false
rerun_delay = 500
send_interrupt = false
stop_on_error = true
[color]
app = ""
build = "yellow"
main = "magenta"
runner = "green"
watcher = "cyan"
[log]
main_only = false
time = false
[misc]
clean_on_exit = false
[screen]
clear_on_rebuild = false
keep_scroll = true