Skip to content
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

Rename to Make_Switches_Map #914

Merged
merged 2 commits into from
Jan 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/alire/alire-crate_configuration.adb
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ package body Alire.Crate_Configuration is

end Make_Build_Profile_Map;

----------------------
-- Make_Swiches_Map --
----------------------
-----------------------
-- Make_Switches_Map --
-----------------------

procedure Make_Swiches_Map (This : in out Global_Config;
Root : in out Alire.Roots.Root;
Rel_Vect : Crate_Name_Vect.Vector)
procedure Make_Switches_Map (This : in out Global_Config;
Root : in out Alire.Roots.Root;
Rel_Vect : Crate_Name_Vect.Vector)
is
begin
for Crate of Rel_Vect loop
Expand Down Expand Up @@ -188,7 +188,7 @@ package body Alire.Crate_Configuration is
This.Switches_Map.Insert (Rel.Name, Get_List (Config));
end;
end loop;
end Make_Swiches_Map;
end Make_Switches_Map;

----------
-- Load --
Expand All @@ -213,7 +213,7 @@ package body Alire.Crate_Configuration is

Make_Build_Profile_Map (This, Root, Rel_Vect);

Make_Swiches_Map (This, Root, Rel_Vect);
Make_Switches_Map (This, Root, Rel_Vect);

for Create of Rel_Vect loop
This.Load_Settings (Root, Create);
Expand Down
2 changes: 1 addition & 1 deletion src/alire/alire-externals-from_system.adb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package body Alire.Externals.From_System is
-- No need to look for anything if the distro is unknown:
if not Platform.Distribution_Is_Known then
Trace.Detail ("Cannot look for system packages for crate " & (+Name)
& "in unknown distribution");
& " in unknown distribution");
return (Releases.Containers.Release_Sets.Empty_Set with null record);
end if;

Expand Down