github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/.air-test.conf (about) 1 # .air-test.conf 2 # Config file for [Air](https://github.com/cosmtrek/air) in TOML format 3 4 # Working directory 5 # . or absolute path, please note that the directories following must be under root. 6 root = "." 7 tmp_dir = "tmp" 8 9 [build] 10 # Just plain old shell command. You could use `make` as well. 11 cmd = "true" 12 # Binary file yields from `cmd`. 13 full_bin = "go test ./..." 14 # Customize binary. 15 # Watch these filename extensions. 16 include_ext = ["go", "tpl", "tmpl", "html"] 17 # Ignore these filename extensions or directories. 18 exclude_dir = ["assets", "tmp", "vendor", "node_modules", "webapp", "examples"] 19 # Watch these directories if you specified. 20 include_dir = [] 21 # Exclude files. 22 exclude_file = [] 23 # It's not necessary to trigger build each time file changes if it's too frequent. 24 delay = 1000 # ms 25 # Stop to run old binary when build errors occur. 26 stop_on_error = true 27 # This log file places in your tmp_dir. 28 log = "air_errors.log" 29 30 [log] 31 # Show log time 32 time = false 33 34 [color] 35 # Customize each part's color. If no color found, use the raw app log. 36 main = "magenta" 37 watcher = "cyan" 38 build = "yellow" 39 runner = "green" 40 41 [misc] 42 # Delete tmp directory on exit 43 # clean_on_exit = true