build-windows.ps1 (rakudo-2020.09) | : | build-windows.ps1 (rakudo-2020.10) | ||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
echo "========= Configuring Rakudo (includes building MoarVM and NQP)" | echo "========= Configuring Rakudo (includes building MoarVM and NQP)" | |||
perl Configure.pl --gen-moar --gen-nqp --backends=moar --moar-option='--toolchai n=msvc' --relocatable | perl Configure.pl --gen-moar --gen-nqp --backends=moar --moar-option='--toolchai n=msvc' --relocatable | |||
CheckLastExitCode | CheckLastExitCode | |||
echo "========= Building Rakudo" | echo "========= Building Rakudo" | |||
nmake install | nmake install | |||
CheckLastExitCode | CheckLastExitCode | |||
echo "========= Testing Rakudo" | echo "========= Testing Rakudo" | |||
prove -e ..\install\bin\perl6 -vlr t | rm -r t\spec | |||
prove -e install\bin\raku -vlr t | ||||
CheckLastExitCode | CheckLastExitCode | |||
echo "========= Cloning Zef" | echo "========= Cloning Zef" | |||
git clone https://github.com/ugexe/zef.git | git clone https://github.com/ugexe/zef.git | |||
CheckLastExitCode | CheckLastExitCode | |||
echo "========= Installing Zef" | echo "========= Installing Zef" | |||
cd zef | cd zef | |||
..\install\bin\raku.exe -I. bin\zef install . | ..\install\bin\raku -I. bin\zef install . | |||
CheckLastExitCode | CheckLastExitCode | |||
cd .. | cd .. | |||
echo "========= Copying auxiliary files" | echo "========= Copying auxiliary files" | |||
cp -Force -r "tools\build\binary-release\Windows\*" install | cp -Force -r "tools\build\binary-release\Windows\*" install | |||
cp LICENSE install | cp LICENSE install | |||
echo "========= Preparing archive" | echo "========= Preparing archive" | |||
mv install rakudo-$Env:VERSION | mv install rakudo-$Env:VERSION | |||
Compress-Archive -Path rakudo-$Env:VERSION -DestinationPath ..\rakudo-win.zip | Compress-Archive -Path rakudo-$Env:VERSION -DestinationPath ..\rakudo-win.zip | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 3 lines changed or added |