rakudo-pkg
rakudo-pkg copied to clipboard
skip zef test
It'd speed up the process quite a bit, as zef tests take some time. Or maybe we could think about some environmental variable to handle this?
install-zef is just a commodity script and I think that running tests is what you want most of the time. Advanced users can probably just copy the one-liner. Do you have a use-case when the user does not want to run tests?
Hi! Yes. I see.
In automatic installation of rakudo and zef, time is important. When install zef using this script, it run tests and that takes some ( significant ) time. If I run it second time it still runs tests ...
Maybe is not a big deal but would be good to have an option to skip tests.
Maybe just providing a special environment variable?
As is, the PR disable the tests for everyone, so I will close it. Reopen append it, eg with something like this:
/opt/rakudo-pkg/bin/raku -I. bin/zef --install-to=home --force-install $@ install .
But you need to make sure it's not a bashism because the script run on Bourne Shell to be portable.