This commit is contained in:
+45
@@ -0,0 +1,45 @@
|
||||
#: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"
|
||||
Reference in New Issue
Block a user