Commit bf87b42e authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Add a new module for handling user targets

This will allow us to increase the range of targets that cabal
commands can support. The new ones are local directory targets,
local cabal files, local tarballs and remote tarballs by URL.
Also a better way of doing the special "world" target.
parent 7f329ec1
......@@ -66,6 +66,7 @@ data PackageConstraint
= PackageVersionConstraint PackageName VersionRange
| PackageInstalledConstraint PackageName
| PackageFlagsConstraint PackageName FlagAssignment
deriving (Show,Eq)
-- | A per-package preference on the version. It is a soft constraint that the
-- 'DependencyResolver' should try to respect where possible. It consists of
......
This diff is collapsed.
......@@ -75,6 +75,7 @@ Executable cabal
Distribution.Client.SetupWrapper
Distribution.Client.SrcDist
Distribution.Client.Tar
Distribution.Client.Targets
Distribution.Client.Types
Distribution.Client.Unpack
Distribution.Client.Update
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment