Setup

Installing

While bough is still in alpha, the recommended way to install it is directly via cargo:

cargo install --locked --git https://github.com/CodeEnPlace/bough --bin bough

Configuring

bough reads config formatted as toml, yaml, and json. We will use toml for the rest of this tutorial

bough looks for config files in the current dir, and parent dirs, in the locations:

run

bough show config

in an uninitialized project to see the full ordered list of config search paths.

Minimal Config

base_root_dir = "."
include = ["**/*"]
exclude = ["target/**/*"]
test.cmd = "echo 'run test command'"
[lang.js]