feat: also exclude tests
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
12dff478a3
commit
7800794271
@ -107,9 +107,13 @@ impl LeptosBuild {
|
||||
)
|
||||
.await?;
|
||||
|
||||
let binary_build =
|
||||
build_container
|
||||
.with_exec(vec!["cargo", "leptos", "build", "--release", "-vv"]);
|
||||
let binary_build = build_container.with_exec(vec![
|
||||
"cargo",
|
||||
"leptos",
|
||||
"build",
|
||||
"--release",
|
||||
"-vv",
|
||||
]);
|
||||
|
||||
self.build_debian_image(
|
||||
binary_build,
|
||||
@ -146,7 +150,11 @@ impl LeptosBuild {
|
||||
"-p",
|
||||
bin_name,
|
||||
])
|
||||
.file(format!("target/{}/release/{}", target.to_string(), bin_name));
|
||||
.file(format!(
|
||||
"target/{}/release/{}",
|
||||
target.to_string(),
|
||||
bin_name
|
||||
));
|
||||
|
||||
self.build_alpine_image(
|
||||
bin,
|
||||
|
@ -89,6 +89,7 @@ impl RustSource {
|
||||
|
||||
let mut excludes = self.exclude.clone();
|
||||
excludes.push("**/src".to_string());
|
||||
excludes.push("**/test".to_string());
|
||||
|
||||
let directory = self.client.host().directory_opts(
|
||||
source.display().to_string(),
|
||||
|
Loading…
Reference in New Issue
Block a user