-
Notifications
You must be signed in to change notification settings - Fork 0
/
.air.toml
46 lines (41 loc) · 1.12 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
root = "."
testdata_dir = "testdata"
tmp_dir = ".tmp"
[build]
args_bin = ["-devmode", "-csp", "off", "-web-assets", "$PWD/assets"]
bin = "./.tmp/main"
cmd = "tailwindcss -c ./internal/pkg/presentation/web/css/tailwind.config.js -i ./internal/pkg/presentation/web/css/input.css -o ./assets/css/diwise.css && templ generate && go build -race -o ./.tmp/main ./cmd/diwise-web"
delay = 1000
exclude_dir = ["assets/css", "tmp", "vendor", "testdata", ".vscode"]
exclude_file = []
exclude_regex = [".*_templ.go","_test.go"]
exclude_unchanged = false
follow_symlink = false
full_bin = "./.tmp/main"
include_dir = []
include_ext = ["go", "tpl", "tmpl", "templ", "toml", "html", "css", "js"]
include_file = []
kill_delay = "2s"
log = "build-errors.log"
poll = false
poll_interval = 0
post_cmd = []
pre_cmd = []
rerun = false
rerun_delay = 500
send_interrupt = true
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