-
Notifications
You must be signed in to change notification settings - Fork 132
Add tests for picking ver/api/auth default from META6 #822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Additional testing is needed for system collapsing and |
| # Remove the previous installation to guarantee no garbage is left behind. | ||
| self.rmsubdir($dest-dir); | ||
|
|
||
| for $?DISTRIBUTION.meta<resources>.grep({ .starts-with($dist ~ '/') && .ends-with('.in') }) -> IO() $tmpl { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The exposed public interface is actually $*DISTRIBUTION.I have no idea why I used $?DISTRIBUTION elsewhere... I think originally it was $?DISTRIBUTION but then later I changed it to $*DISTRIBUTION (which still requires setting up a $?DISTRIBUTION)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation mentions $?DISTRIBUTION, the compiler installs it too. And it's the right name for it. With $*DISTRIBUTION there is a chance to pick up a wrong one from the call stack. Yet, the lexical nature of $?DISTRIBUTION makes it more error-proof.
Contrary, $*DISTRIBUTION is good for the compilation.
Make sure we don't left behind opened in/out/err.
Make sure templates expanded correctly and distribution reported by module has the version we expect.
In support of rakudo/rakudo#5060