-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.air.toml
More file actions
64 lines (57 loc) · 1.38 KB
/
.air.toml
File metadata and controls
64 lines (57 loc) · 1.38 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
#:schema https://json.schemastore.org/any.json
env_files = []
root = "."
testdata_dir = "testdata"
tmp_dir = "tmp"
[build]
args_bin = []
bin = "./tmp/main"
pre_cmd = [
"bunx tsc --noEmit",
"bunx @tailwindcss/cli -i ./web/input.css -o ./public/styles.css",
"bun build ./web/src/index.ts --outdir=./public",
# can comment tinygo build if no frequent changes to wasm and want rapid iteration of web frontend
"GOOS=js GOARCH=wasm tinygo build -o ./public/main.wasm ./web/wasm",
]
cmd = "go build -o ./tmp/main ./cmd/server"
post_cmd = []
delay = 1000
entrypoint = ["./tmp/main"]
exclude_dir = ["assets", "tmp", "vendor", "testdata"]
exclude_file = []
exclude_regex = ["_test.go"]
exclude_unchanged = false
follow_symlink = false
full_bin = ""
ignore_dangerous_root_dir = false
include_dir = []
include_ext = ["go", "tpl", "tmpl", "html", "ts"]
include_file = []
kill_delay = "0s"
log = "build-errors.log"
poll = false
poll_interval = 0
rerun = false
rerun_delay = 500
send_interrupt = false
stop_on_error = false
[color]
app = ""
build = "yellow"
main = "magenta"
runner = "green"
watcher = "cyan"
[log]
main_only = false
silent = false
time = false
[misc]
clean_on_exit = false
[proxy]
app_port = 0
app_start_timeout = 0
enabled = false
proxy_port = 0
[screen]
clear_on_rebuild = false
keep_scroll = true