-
Notifications
You must be signed in to change notification settings - Fork 0
/
.air.toml
39 lines (29 loc) · 872 Bytes
/
.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
# config file for [air](https://github.com/cosmtrek/air) in toml format
# working directory (. or absolute path)
# other configured directory paths must be under root
root = "."
tmp_dir = "out/tmp"
[build]
# binary file path yielded from `cmd`
bin = "out/tmp/domain"
# plain shell command
cmd = "go build -mod readonly -o out/tmp/domain ./cmd/httpserver"
# rebuild delay (ms)
delay = 1000
# customize binary
# this is how you start to run your application
# application works like a cli
# full_bin = "./tmp/app/engine http"
# ignore directories with these names
# ignore files with these name or extensions
exclude_dir = ["out", "vendor"]
# watch files with these extensions
include_ext = ["go", "yaml", "toml"]
# log file is placed in `tmp_dir`
log = "air_errors.log"
[log]
# show log time
time = true
[misc]
# delete tmp directory on exit
clean_on_exit = true