From bf30b006c94358707756b13ae452452e52769f8f Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 6 Feb 2017 22:54:04 +0100 Subject: Add very basic installation task --- CLPM/Package.dcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'CLPM/Package.dcl') diff --git a/CLPM/Package.dcl b/CLPM/Package.dcl index 3ddf521..5499a5d 100644 --- a/CLPM/Package.dcl +++ b/CLPM/Package.dcl @@ -46,9 +46,7 @@ PACKAGE_FILE :== "clpm.json" } :: Dependency - = Git Url GitTag - | Download Url - | Package PackageName VersionRequirement + = Package PackageName VersionRequirement :: Options = { show_result :: Bool @@ -104,3 +102,5 @@ resolveDependencies :: Repository Package -> MaybeErrorString [(Dependency, Vers getRecursivePaths :: Package *World -> (MaybeErrorString [Path], *World) optionsToFlags :: Options -> [String] + +install :: Dependency Version *World -> *(MaybeErrorString (), *World) -- cgit v1.2.3