fix(ci): needed to include examples as well
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-08-11 20:09:31 +02:00
parent 2072ffe507
commit bcdb8ca741
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -261,6 +261,13 @@ pub async fn get_rust_skeleton_files(
} }
} }
let mut dirs = tokio::fs::read_dir("examples").await?;
while let Some(entry) = dirs.next_entry().await? {
if entry.metadata().await?.is_dir() {
rust_crates.push(entry.path())
}
}
fn create_skeleton_files( fn create_skeleton_files(
directory: dagger_sdk::Directory, directory: dagger_sdk::Directory,
path: &Path, path: &Path,