-
-
Notifications
You must be signed in to change notification settings - Fork 152
Expand file tree
/
Copy path.air.toml
More file actions
31 lines (27 loc) · 835 Bytes
/
Copy path.air.toml
File metadata and controls
31 lines (27 loc) · 835 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
30
31
root = "."
tmp_dir = "tmp"
[build]
cmd = "go build -ldflags \"-X github.com/lin-snow/ech0/internal/version.Commit=$(git rev-parse --short HEAD 2>/dev/null || echo unknown) -X github.com/lin-snow/ech0/internal/version.BuildTime=$(date -u +%Y-%m-%dT%H:%M:%SZ)\" -o ./tmp/main ./cmd/ech0"
entrypoint = ["./tmp/main", "serve"]
include_ext = ["go", "yaml", "yml", "toml", "json"]
exclude_dir = ["tmp", "web", "data", "backup", "template", "node_modules", ".git", ".idea", ".vscode"]
exclude_file = []
exclude_regex = ["_test\\.go"]
exclude_unchanged = true
follow_symlink = false
log = "build-errors.log"
delay = 1000
stop_on_error = true
send_interrupt = true
kill_delay = "500ms"
rerun = false
rerun_delay = 500
[log]
time = true
[color]
main = "magenta"
watcher = "cyan"
build = "yellow"
runner = "green"
[misc]
clean_on_exit = true