Files
alire-index-community/src/alire-root.ads
T
2018-03-25 23:48:27 +02:00

27 lines
784 B
Ada

with Alire.Conditional;
with Alire.Roots;
with Semantic_Versioning;
package Alire.Root is
-- When alr self-compiles it inserts a call to this function, so the dependency root is stablished
-- The two flavors distinguish when it is an already indexed project and a new unindexed one (working copy)
function Set (Project : Alire.Project;
Version : Semantic_Versioning.Version)
return Roots.Root;
-- All information will be taken from the indexed release
function Set (Project : Alire.Project;
Dependencies : Conditional.Dependencies)
return Roots.Root;
-- An unindexed working copy
function Current return Roots.Root;
function Is_Set return Boolean;
end Alire.Root;