-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.air.toml
More file actions
29 lines (25 loc) Β· 778 Bytes
/
Copy path.air.toml
File metadata and controls
29 lines (25 loc) Β· 778 Bytes
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
# Air β Go hot reload. Rebuilds cmd/metaai-rest and restarts it on any .go
# change. Run with: air (after `go install github.com/air-verse/air@latest`)
root = "."
testdata_dir = "testdata"
tmp_dir = "tmp"
[build]
bin = "./tmp/metaai-rest"
cmd = "go build -o ./tmp/metaai-rest ./cmd/metaai-rest"
delay = 500 # ms β debounce so a multi-file save rebuilds once
exclude_dir = ["tmp", "ui", "smart-studio", "vendor", "testdata", "bin"]
exclude_regex = ["_test\\.go"]
include_ext = ["go", "tpl", "tmpl", "html", "env"]
kill_delay = "0s"
log = "build-errors.log"
send_interrupt = true
stop_on_error = true
[color]
build = "yellow"
main = "magenta"
runner = "green"
watcher = "cyan"
[log]
time = false
[misc]
clean_on_exit = true