Skip to content

Commit

Permalink
Set up environment during build preparations
Browse files Browse the repository at this point in the history
  • Loading branch information
mosteo committed Sep 27, 2024
1 parent fbaa3da commit 1b1df86
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/alire/alire-roots.adb
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ package body Alire.Roots is
-- Will regenerate on demand only those changed. For shared
-- dependencies, will also generate any missing configs not generated
-- during sync, such as for linked releases and the root release.

-- Set the environment to be used during build

This.Export_Build_Environment;
end Build_Prepare;

-----------
Expand Down Expand Up @@ -279,8 +283,6 @@ package body Alire.Roots is
return True;
end if;

This.Export_Build_Environment;

This.Traverse (Build_Single_Release'Access);

return True;
Expand Down

0 comments on commit 1b1df86

Please sign in to comment.