feat: Pipe

This commit is contained in:
2025-01-29 00:04:00 -05:00
parent 6fa4b21c4f
commit 9d944c3218
15 changed files with 888 additions and 235 deletions

View File

@@ -11,32 +11,32 @@ default_job = "clippy-all"
command = ["cargo", "check", "--color", "always"]
need_stdout = false
default_watch = false
watch = ["src", "Cargo.toml"]
watch = ["src", "Cargo.toml", "macro"]
[jobs.check-all]
command = ["cargo", "check", "--all-features", "--color", "always"]
need_stdout = false
default_watch = false
watch = ["src", "Cargo.toml"]
watch = ["src", "Cargo.toml", "macro"]
[jobs.clippy]
command = [
"cargo", "clippy",
"cargo", "clippy", "--workspace",
"--color", "always",
]
need_stdout = false
default_watch = false
watch = ["src", "Cargo.toml"]
watch = ["src", "Cargo.toml", "macro"]
[jobs.clippy-all]
command = [
"cargo", "clippy",
"cargo", "clippy", "--workspace",
"--all-features",
"--color", "always",
]
need_stdout = false
default_watch = false
watch = ["src", "Cargo.toml"]
watch = ["src", "Cargo.toml", "macro"]
[jobs.test]
command = [
@@ -46,7 +46,7 @@ command = [
env.RUSTFLAGS="-Zmacro-backtrace"
need_stdout = true
default_watch = false
watch = ["src", "Cargo.toml", "tests", "README.md"]
watch = ["src", "Cargo.toml", "tests", "README.md", "macro"]
[jobs.test-all]
command = [
@@ -56,18 +56,18 @@ command = [
env.RUSTFLAGS="-Zmacro-backtrace"
need_stdout = true
default_watch = false
watch = ["src", "Cargo.toml", "tests", "README.md"]
watch = ["src", "Cargo.toml", "tests", "README.md", "macro"]
[jobs.doc]
command = ["cargo", "doc", "--color", "always", "--no-deps"]
command = ["cargo", "doc", "--color", "always", "--no-deps", "--workspace", "--all-features"]
need_stdout = false
default_watch = false
watch = ["src", "Cargo.toml"]
watch = ["src", "Cargo.toml", "macro"]
# If the doc compiles, then it opens in your browser and bacon switches
# to the previous job
[jobs.doc-open]
command = ["cargo", "doc", "--color", "always", "--no-deps", "--open"]
command = ["cargo", "doc", "--color", "always", "--no-deps", "--open", "--workspace", "--all-features"]
need_stdout = false
on_success = "back" # so that we don't open the browser at each change