Last active
July 24, 2017 22:21
-
-
Save zengargoyle/b0b5d2a468e2796833d5bda46a507c78 to your computer and use it in GitHub Desktop.
force precomp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 02:36 < nine> zengargoyle: this seems to do the trick: | |
for $*REPO.repo-chain.grep(CompUnit::Repository::Installable) -> $repo { | |
for $repo.installed -> $dist { | |
for $dist.meta<provides>.keys -> $module { | |
next if $module eq "Zef::CLI"; | |
$repo.need( | |
CompUnit::DependencySpecification.new( | |
short-name($module), | |
:ver($dist.meta<ver>) | |
) | |
) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment