feat: bump depot version to 0.21.1 and update install command handling

This commit is contained in:
2026-03-13 08:59:36 -05:00
parent 0c06be6b6b
commit 1cafe87c8e
4 changed files with 5 additions and 5 deletions
Generated
+1 -1
View File
@@ -418,7 +418,7 @@ checksum = "807800ff3288b621186fe0a8f3392c4652068257302709c24efd918c3dffcdc2"
[[package]]
name = "depot"
version = "0.21.0"
version = "0.21.1"
dependencies = [
"anyhow",
"ar",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "depot"
version = "0.21.0"
version = "0.21.1"
edition = "2024"
[lints.rust]
+1 -1
View File
@@ -1,6 +1,6 @@
project(
'depot',
version: '0.21.0',
version: '0.21.1',
meson_version: '>=0.60.0',
default_options: ['buildtype=release'],
)
+2 -2
View File
@@ -184,6 +184,7 @@ fn run_install_command_with_program(
}
let mut cmd = std::process::Command::new(program);
cmd.arg("install");
cmd.arg("-r").arg(rootfs);
if options.no_deps {
cmd.arg("--no-deps");
@@ -206,7 +207,6 @@ fn run_install_command_with_program(
if options.install_test_deps {
cmd.arg("--test-deps");
}
cmd.arg("install");
cmd.args(install_requests);
if let Some(context) = options.install_context {
cmd.env(DEPOT_INSTALL_CONTEXT_ENV, context);
@@ -6382,6 +6382,7 @@ optional = []
assert_eq!(
captured_args.lines().collect::<Vec<_>>(),
vec![
"install",
"-r",
"/",
"--no-flags",
@@ -6389,7 +6390,6 @@ optional = []
"x86_64-linux-musl",
"--clean",
"--test-deps",
"install",
"/tmp/pkg-a.toml",
"/tmp/pkg-b.toml",
]