# Config file for Air in TOML format root = "./../.." tmp_dir = "tmp" [build] cmd = "go build -o app -ldflags \"-X 'github.com/tech/sendico/gateway/chain/internal/appversion.BuildUser=$(whoami)' -X 'github.com/tech/sendico/gateway/chain/internal/appversion.Version=$APP_V' -X 'github.com/tech/sendico/gateway/chain/internal/appversion.Branch=$BUILD_BRANCH' -X 'github.com/tech/sendico/gateway/chain/internal/appversion.Revision=$GIT_REV' -X 'github.com/tech/sendico/gateway/chain/internal/appversion.BuildDate=$(date)'\"" bin = "./app" full_bin = "./app --debug --config.file=config.yml" include_ext = ["go", "yaml", "yml"] exclude_dir = ["gateway/chain/tmp", "pkg/.git", "gateway/chain/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