33 lines
971 B
TOML
33 lines
971 B
TOML
# Config file for Air in TOML format
|
|
|
|
root = "./../.."
|
|
tmp_dir = "tmp"
|
|
|
|
[build]
|
|
cmd = "go build -o app -ldflags \"-X 'github.com/tech/sendico/fx/oracle/internal/appversion.BuildUser=$(whoami)' -X 'github.com/tech/sendico/fx/oracle/internal/appversion.Version=$APP_V' -X 'github.com/tech/sendico/fx/oracle/internal/appversion.Branch=$BUILD_BRANCH' -X 'github.com/tech/sendico/fx/oracle/internal/appversion.Revision=$GIT_REV' -X 'github.com/tech/sendico/fx/oracle/internal/appversion.BuildDate=$(date)'\""
|
|
bin = "./app"
|
|
full_bin = "./app --debug --config.file=config.yml"
|
|
include_ext = ["go", "yaml", "yml"]
|
|
exclude_dir = ["fx/oracle/tmp", "pkg/.git", "fx/oracle/env"]
|
|
exclude_regex = ["_test\\.go"]
|
|
exclude_unchanged = true
|
|
follow_symlink = true
|
|
log = "air.log"
|
|
delay = 0
|
|
stop_on_error = true
|
|
send_interrupt = true
|
|
kill_delay = 500
|
|
args_bin = []
|
|
|
|
[log]
|
|
time = false
|
|
|
|
[color]
|
|
main = "magenta"
|
|
watcher = "cyan"
|
|
build = "yellow"
|
|
runner = "green"
|
|
|
|
[misc]
|
|
clean_on_exit = true
|