add .air.toml [skip ci]

This commit is contained in:
leo 2023-04-19 23:23:02 +02:00
parent 7c200b7488
commit 574693ebb2
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ
2 changed files with 47 additions and 0 deletions

44
.air.toml Normal file
View File

@ -0,0 +1,44 @@
root = "."
testdata_dir = "testdata"
tmp_dir = "tmp"
[build]
args_bin = []
bin = "./pcmt"
cmd = "go mod tidy && go build -v ."
delay = 0
exclude_dir = ["assets", "tmp", "vendor", "testdata", "node_modules", "static"]
exclude_file = []
exclude_regex = ["_test.go"]
exclude_unchanged = false
follow_symlink = false
full_bin = ""
include_dir = []
include_ext = ["go", "tmpl", "html", "dhall"]
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
time = false
[misc]
clean_on_exit = false
[screen]
clear_on_rebuild = false
keep_scroll = true

3
.gitignore vendored
View File

@ -1,6 +1,9 @@
# main binary
pcmt
# air tmp dir
/tmp
# static assets folder
/static/