Files
marka/server/.air.toml
Max Richter cc19724277
Some checks failed
Build and Push Server / build-and-push (push) Failing after 4m8s
chore: update
2025-11-04 12:26:38 +01:00

32 lines
683 B
TOML

root = "."
tmp_dir = "tmp"
[build]
# Command to build the application.
cmd = "go build -o ./tmp/marka-server ./cmd/marka-server"
# The binary to run.
bin = "./tmp/marka-server"
# Command to run the application with arguments.
full_bin = "MARKA_API_KEY='SECRET' ./tmp/marka-server -root=/home/max/Notes/resources -addr=:8080 -playground-root=./playground"
# Watch these file extensions.
include_ext = ["go", "http"]
include_dir = ["../registry","../renderer","../template"]
# Ignore these directories.
exclude_dir = ["tmp"]
# Log file for build errors.
log = "air_errors.log"
[log]
# Show time in logs.
time = true
[misc]
# Delete tmp directory on exit.
clean_on_exit = true