2023-03-10 23:16:35 +01:00
|
|
|
[tasks.codegen]
|
|
|
|
command = "cargo"
|
|
|
|
args = ["run", "-p", "ci", "--", "codegen"]
|
|
|
|
workspace = false
|
2023-03-10 23:39:23 +01:00
|
|
|
|
2023-03-14 21:49:30 +01:00
|
|
|
[tasks.local_codegen]
|
|
|
|
command = "cargo"
|
|
|
|
args = [
|
|
|
|
"run",
|
|
|
|
"-p",
|
2023-03-18 15:23:24 +01:00
|
|
|
"dagger-bootstrap",
|
2023-03-14 21:49:30 +01:00
|
|
|
"--",
|
|
|
|
"generate",
|
|
|
|
"--output",
|
|
|
|
"crates/dagger-sdk/src/gen.rs",
|
|
|
|
]
|
|
|
|
workspace = false
|
|
|
|
|
2023-03-10 23:39:23 +01:00
|
|
|
[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
|
|
|
|
|
2023-03-14 21:49:30 +01:00
|
|
|
[tasks.gen]
|
|
|
|
dependencies = ["local_codegen", "fmt", "fix"]
|
|
|
|
workspace = false
|
|
|
|
|
2023-03-10 23:39:23 +01:00
|
|
|
[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
|