Skip to content

Commit 68e49cd

Browse files
committed
Add find_cargo_workspace utility method
In preparation for adding support for testing meta-buildpacks the `find_cargo_workspace` method is being added to `libcnb-package` so that it can be shared between `libcnb-package` and `libcnb-test`. Both the packaging and testing processes will use this to locate buildpacks within a workspace in order to resolve project-level dependencies declared with `libcnb:{buildpack_id}`.
1 parent 57be3d0 commit 68e49cd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libcnb-cargo/src/package/command.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ pub(crate) fn execute(args: &PackageArgs) -> Result<()> {
3333
.map_err(|e| Error::FindBuildpackDirs(workspace_dir.clone(), e))?;
3434

3535
let buildpack_packages = buildpack_dirs
36-
.into_iter()
3736
.into_iter()
3837
.map(read_buildpack_package)
3938
.collect::<std::result::Result<Vec<_>, _>>()?;

0 commit comments

Comments
 (0)