mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2024-11-09 19:21:52 +01:00
61 lines
1.0 KiB
TOML
61 lines
1.0 KiB
TOML
[tasks.codegen]
|
|
command = "cargo"
|
|
args = ["run", "-p", "ci", "--", "codegen"]
|
|
workspace = false
|
|
|
|
[tasks.local_codegen]
|
|
command = "cargo"
|
|
args = [
|
|
"run",
|
|
"-p",
|
|
"dagger-bootstrap",
|
|
"--",
|
|
"generate",
|
|
"--output",
|
|
"crates/dagger-sdk/src/gen.rs",
|
|
]
|
|
workspace = false
|
|
|
|
[tasks.build]
|
|
command = "cargo"
|
|
args = ["run", "-p", "ci", "--", "ci"]
|
|
dependencies = ["codegen"]
|
|
workspace = false
|
|
|
|
[tasks.fmt]
|
|
command = "cargo"
|
|
args = ["fmt", "--all"]
|
|
workspace = false
|
|
|
|
[tasks.fix]
|
|
command = "cargo"
|
|
args = ["fix", "--workspace", "--allow-dirty"]
|
|
dependencies = ["fmt"]
|
|
workspace = false
|
|
|
|
[tasks.gen]
|
|
dependencies = ["local_codegen", "fmt", "fix"]
|
|
workspace = false
|
|
|
|
[tasks.release_crate]
|
|
command = "cargo"
|
|
args = [
|
|
"smart-release",
|
|
"--allow-fully-generated-changelogs",
|
|
"--update-crates-index",
|
|
"dagger-sdk",
|
|
]
|
|
dependencies = ["codegen", "fix"]
|
|
workspace = false
|
|
|
|
[tasks.release_crate_commit]
|
|
command = "cargo"
|
|
args = [
|
|
"smart-release",
|
|
"-e",
|
|
"--allow-fully-generated-changelogs",
|
|
"--update-crates-index",
|
|
"dagger-sdk",
|
|
]
|
|
workspace = false
|