Files
phishingclub/backend/.air.docker.toml
Ronni Skansing 0c45cc1e12 fix build
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
2025-08-21 16:31:02 +02:00

50 lines
1.3 KiB
TOML
Executable File

root = "."
testdata_dir = "testdata"
tmp_dir = ".dev"
[build]
args_bin = ["-files ./.dev", "-config ./config.docker.json"]
bin = "/app/.dev-air/platform"
cmd = "CGO_ENABLED=1 go build -tags dev -o ./.dev-air/platform main.go" # community
delay = 1000
exclude_dir = [
"out",
".dev",
"vendor",
"testdata",
".git",
"build",
"frontend/build/",
]
exclude_file = []
exclude_regex = ["_test.go"]
exclude_unchanged = false
follow_symlink = false
#full_bin = "dlv exec --log-dest /.dev/dlv.log --accept-multiclient --headless --continue --listen 0.0.0.0:2345 --api-version 2 /app/air/platform --"
# to debug something early in the application like at boot up, then remove the continue flag
# this will make the debugger not start the program before a client attaches to it
#full_bin = "dlv exec --accept-multiclient --headless --continue --listen 0.0.0.0:2345 --api-version 2 /app/air/platform --"
include_dir = [""]
include_ext = ["go", "tpl", "tmpl", "html"]
kill_delay = "0s"
log = "build-errors.log"
send_interrupt = true #false
stop_on_error = true
[color]
# app = "red"
# build = "yellow"
# main = "magenta"
# runner = "green"
# watcher = "cyan"
[log]
time = false
main_only = false
[misc]
clean_on_exit = false
[screen]
clear_on_rebuild = false