46 lines
959 B
TOML
46 lines
959 B
TOML
#:schema https://dystroy.org/bacon/.bacon.schema.json
|
|
|
|
default_job = "check"
|
|
env.CARGO_TERM_COLOR = "always"
|
|
|
|
[jobs.check]
|
|
command = ["cargo", "check", "--workspace", "--all-targets", "--all-features"]
|
|
need_stdout = false
|
|
|
|
[jobs.clippy]
|
|
command = [
|
|
"cargo", "clippy", "--workspace", "--all-targets", "--all-features",
|
|
"--", "-D", "warnings",
|
|
]
|
|
need_stdout = false
|
|
|
|
[jobs.test]
|
|
command = [
|
|
"cargo", "nextest", "run", "--workspace", "--all-features",
|
|
"--hide-progress-bar", "--failure-output", "final",
|
|
]
|
|
need_stdout = true
|
|
analyzer = "nextest"
|
|
|
|
[jobs.doc-test]
|
|
command = ["cargo", "test", "--workspace", "--all-features", "--doc"]
|
|
need_stdout = true
|
|
|
|
[jobs.run]
|
|
command = ["cargo", "run", "-p", "lumbridge"]
|
|
need_stdout = true
|
|
allow_warnings = false
|
|
background = true
|
|
show_command_error_code = true
|
|
|
|
[jobs.ci]
|
|
command = ["./scripts/ci.sh"]
|
|
need_stdout = true
|
|
|
|
[keybindings]
|
|
c = "job:clippy"
|
|
t = "job:test"
|
|
d = "job:doc-test"
|
|
r = "job:run"
|
|
v = "job:ci"
|