Skip to content

Commit

Permalink
zef: remove the "--force-test" options and switch to "--debug"
Browse files Browse the repository at this point in the history
Changed zef options in "lib/actions/install.bash" and also in "tools/build/binary-release/Windows/build-with-choco.ps1"
  • Loading branch information
AntonOks committed Nov 2, 2024
1 parent df9d5be commit 16b30cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/actions/install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ install_raku_module() {
"$RSTAR_PREFIX/bin/raku" -I. bin/zef install .
popd > /dev/null
else
"$RSTAR_PREFIX/bin/raku" "$RSTAR_PREFIX/share/perl6/site/bin/zef" install --force-test "$1"
"$RSTAR_PREFIX/bin/raku" "$RSTAR_PREFIX/share/perl6/site/bin/zef" install --debug "$1"
fi

# "$RSTAR_PREFIX/bin/raku" "$BASEDIR/lib/install-module.raku" "$1"
Expand Down
4 changes: 2 additions & 2 deletions tools/build/binary-release/Windows/build-with-choco.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ CheckLastExitCode

cd zef
Write-Host " INFO - Installing ZEF"
& $PrefixPath\bin\raku.exe -I. bin\zef install . --install-to=$PrefixPath\share\perl6\site\ --error
& $PrefixPath\bin\raku.exe -I. bin\zef install . --install-to=$PrefixPath\share\perl6\site\ --debug
CheckLastExitCode

# Add the required rakudo folders to PATH in order for some modules to test correctly (File::Which)
Expand All @@ -139,7 +139,7 @@ Select-String -Path rakudo-star-modules.txt -Pattern " http "," git " -SimpleMat
$moduleName = $moduleName.replace("-","::")
Write-Host " INFO - zef: installing $moduleName, $moduleUrl"
IF ( $moduleName -ne "zef" ) {
IF ( [string]( & zef install $moduleName --debug --install-to=$PrefixPath\share\perl6\site\ --error --force-test) -match 'No candidates found matching identity' ) { & zef install $moduleUrl --debug --install-to=$PrefixPath\share\perl6\site\ --error --force-test}
IF ( [string]( & zef install $moduleName --debug --install-to=$PrefixPath\share\perl6\site\) -match 'No candidates found matching identity' ) { & zef install $moduleUrl --debug --install-to=$PrefixPath\share\perl6\site\}
}
}

Expand Down

0 comments on commit 16b30cc

Please sign in to comment.