Hooks (probably to be discarded)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
with Alire.Origins;
|
||||
|
||||
package Alire.Hooks with Preelaborate is
|
||||
|
||||
-- Hackish way to enable Alire to obtain some platform-specific info that only Alr knows how to get
|
||||
|
||||
Version_Getter_Hook : access function (O : Origins.Origin) return String;
|
||||
|
||||
end Alire.Hooks;
|
||||
@@ -1,6 +1,5 @@
|
||||
with Alire.Conditional;
|
||||
with Alire.Dependencies;
|
||||
-- with Alire.Dependencies.Vectors;
|
||||
with Alire.Milestones;
|
||||
with Alire.Origins;
|
||||
with Alire.Projects;
|
||||
@@ -109,6 +108,8 @@ package Alire.Releases with Preelaborate is
|
||||
|
||||
private
|
||||
|
||||
use Semantic_Versioning;
|
||||
|
||||
use all type Projects.Names;
|
||||
|
||||
function All_Properties (R : Release) return Conditional.Properties;
|
||||
@@ -140,7 +141,7 @@ private
|
||||
Available : Alire.Requisites.Tree) return Release is
|
||||
(Notes'Length,
|
||||
Name,
|
||||
Version,
|
||||
Version,
|
||||
Origin,
|
||||
Notes,
|
||||
Dependencies,
|
||||
@@ -152,8 +153,6 @@ private
|
||||
Private_Properties,
|
||||
Available);
|
||||
|
||||
use Semantic_Versioning;
|
||||
|
||||
function "<" (L, R : Release) return Boolean is
|
||||
(L.Name < R.Name or else
|
||||
(L.Name = R.Name and then
|
||||
|
||||
Reference in New Issue
Block a user