Scanning checkpoint

This commit is contained in:
Nathan McCarty 2024-12-31 16:25:05 +00:00
parent a4e4c4a314
commit 9e9903429e
2 changed files with 22 additions and 5 deletions

View file

@ -28,6 +28,9 @@ sub scan-ipkg(IO::Path:D $ipkg --> PackageInfo:D) {
PackageInfo.new(ipkg => $ipkg, root => $ipkg.parent, sources => @sources)
}
# TODO: Add some parsing of pack.toml to locate test packages and associate them
# with their source ipkg
#| Scan $*CWD to locate ipkgs and their associated sources
sub scan-packages(--> Array[PackageInfo:D]) is export {
my PackageInfo:D @ipkgs =