Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -219,7 +219,7 @@ impl HtmxBuild {
|
||||
)
|
||||
.with_directory(
|
||||
"/mnt/app/target/site",
|
||||
builder_image.directory(format!("/mnt/src/target/site")),
|
||||
builder_image.directory("/mnt/src/target/site".to_string()),
|
||||
)
|
||||
.with_file(
|
||||
"/mnt/app/Cargo.toml",
|
||||
|
@@ -198,7 +198,7 @@ impl LeptosBuild {
|
||||
)
|
||||
.with_directory(
|
||||
"/mnt/app/target/site",
|
||||
builder_image.directory(format!("/mnt/src/target/site")),
|
||||
builder_image.directory("/mnt/src/target/site".to_string()),
|
||||
)
|
||||
.with_file(
|
||||
"/mnt/app/Cargo.toml",
|
||||
|
@@ -116,7 +116,7 @@ impl RustSource {
|
||||
.map(|c| format!("**/*{}*", c.replace('-', "_")))
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
let original_crates = crates.clone();
|
||||
let mut original_crates = crates.clone();
|
||||
original_crates.extend(exclude);
|
||||
|
||||
let exclude = original_crates.iter().map(|c| c.as_str()).collect();
|
||||
@@ -130,7 +130,7 @@ impl RustSource {
|
||||
},
|
||||
);
|
||||
|
||||
return Ok(incremental_dir);
|
||||
Ok(incremental_dir)
|
||||
}
|
||||
|
||||
pub async fn get_rust_skeleton_files(
|
||||
@@ -191,7 +191,7 @@ impl RustSource {
|
||||
}
|
||||
directory = create_skeleton_files(
|
||||
directory,
|
||||
rust_crate.strip_prefix(source_path).unwrap_or(&rust_crate),
|
||||
rust_crate.strip_prefix(source_path).unwrap_or(rust_crate),
|
||||
)?;
|
||||
}
|
||||
|
||||
|
@@ -40,7 +40,7 @@ impl RustTest {
|
||||
.with_exec(vec!["apt", "update"])
|
||||
.with_exec(deps);
|
||||
|
||||
let target_cache = self.client.cache_volume(format!("rust_target_test",));
|
||||
let target_cache = self.client.cache_volume("rust_target_test".to_string());
|
||||
|
||||
let build_options = vec!["cargo", "build", "--workspace"];
|
||||
let rust_prebuild = rust_build_image
|
||||
|
Reference in New Issue
Block a user