Bump indexed versions
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
with Alire.Index.Semantic_Versioning;
|
||||
with Alire.Index.Simple_Logging;
|
||||
|
||||
package Alire.Index.Alire is
|
||||
|
||||
Name : constant Project_Name := "alire";
|
||||
Repo : constant URL := "https://bitbucket.org/aleteolabs/alire.git";
|
||||
|
||||
Desc : constant Project_Description := "Alire project catalog and support files";
|
||||
|
||||
Latest : constant Release :=
|
||||
Register_Git (Name,
|
||||
V ("0.1.0"),
|
||||
Desc,
|
||||
Repo,
|
||||
"ce78e7706c9d3f97605df48d8befca5407f8d328",
|
||||
Depends_On =>
|
||||
Within_Major (Semantic_Versioning.Latest) and
|
||||
Within_Major (Simple_Logging.V_1_0_0));
|
||||
|
||||
end Alire.Index.Alire;
|
||||
@@ -1,3 +1,6 @@
|
||||
with Alire.Index.Alire;
|
||||
with Alire.Index.Simple_Logging;
|
||||
|
||||
package Alire.Index.Alr is
|
||||
|
||||
Name : constant Project_Name := "alr";
|
||||
@@ -5,11 +8,14 @@ package Alire.Index.Alr is
|
||||
|
||||
Desc : constant Project_Description := "Command-line tool from the Alire project";
|
||||
|
||||
V_1_0_0 : constant Release :=
|
||||
Latest : constant Release :=
|
||||
Register_Git (Name,
|
||||
V ("0.1.0"),
|
||||
Desc,
|
||||
Repo,
|
||||
"ce78e7706c9d3f97605df48d8befca5407f8d328");
|
||||
"ce78e7706c9d3f97605df48d8befca5407f8d328",
|
||||
Depends_On =>
|
||||
Within_Major (Alire.Latest) and
|
||||
Within_Major (Simple_Logging.V_1_0_0));
|
||||
|
||||
end Alire.Index.Alr;
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
package Alire.Index.Semantic_Versioning is
|
||||
|
||||
Name : constant Project_Name := "semantic_versioning";
|
||||
Repo : constant URL := "https://bitbucket.org/aleteolabs/semver.git";
|
||||
|
||||
Desc : constant Project_Description := "Semantic Versioning for Ada";
|
||||
|
||||
Latest : constant Release :=
|
||||
Register_Git (Name,
|
||||
V ("0.1.0"),
|
||||
Desc,
|
||||
Repo,
|
||||
"9f35b00a31861ea96085ee553fb6335d74831f5c");
|
||||
|
||||
end Alire.Index.Semantic_Versioning;
|
||||
@@ -10,6 +10,6 @@ package Alire.Index.Simple_Logging is
|
||||
V ("1.0.0"),
|
||||
Desc,
|
||||
Repo,
|
||||
"77896e4a9d0539a63e6bfb657ab955656c2e3c0f");
|
||||
"81a00b835cc84a74e7008015623bce018b2fa72a");
|
||||
|
||||
end Alire.Index.Simple_Logging;
|
||||
|
||||
+2
-3
@@ -82,6 +82,7 @@ package Alire.Index is
|
||||
use all type Compilers.Compilers;
|
||||
use all type Operating_Systems.Operating_Systems;
|
||||
|
||||
use all type Dependencies;
|
||||
use all type Properties.Property'Class; -- for "and" operator
|
||||
use all type Requisites.Requisite'Class;
|
||||
use all type Requisites.Tree; -- for logical operators
|
||||
@@ -134,9 +135,7 @@ private
|
||||
Requisites => Requisites,
|
||||
Native => False));
|
||||
|
||||
use Semantic_Versioning;
|
||||
|
||||
use all type Dependencies;
|
||||
use Semantic_Versioning;
|
||||
|
||||
function Within_Major (R : Release) return Dependencies is
|
||||
(New_Dependency (R.Project, Within_Major (R.Version)));
|
||||
|
||||
Reference in New Issue
Block a user