https://github.com/homalg-project/homalg_project
Raw File
Tip revision: e03ff434fa0808460d592611aaa5a374c4c394e9 authored by Mohamed Barakat on 04 February 2023, 16:54:40 UTC
Merge pull request #571 from mohamed-barakat/devel
Tip revision: e03ff43
ci_gaprc
# Prefer GAPInfo.UserGapRoot over other package directories to prevent accidentally testing package
# versions distributed with GAP.
(function()
  local name, package_info, pos;
    for name in RecNames( GAPInfo.PackagesInfo ) do
        package_info := GAPInfo.PackagesInfo.(name);
        pos := PositionProperty( package_info, info -> StartsWith( info.InstallationPath, GAPInfo.UserGapRoot ) );
        if pos <> fail then
            SetPackagePath( name, package_info[pos].InstallationPath );
        fi;
    od;
end)();
back to top