This project is mirrored from Pull mirroring updated .
  1. 13 Jul, 2018 9 commits
  2. 09 May, 2018 1 commit
  3. 06 Mar, 2018 2 commits
  4. 08 Feb, 2018 1 commit
  5. 19 Dec, 2017 1 commit
  6. 09 Nov, 2017 1 commit
  7. 08 Nov, 2017 1 commit
    • Duncan Coutts's avatar
      Remove reundant args of selectComponentTarget functions · b0f7a9b6
      Duncan Coutts authored
      The PackageId and ComponentName are already part of the existing
      AvailableTarget record argument.
      We need to eliminate this redundancy because for new kinds of target
      selectors we will not have the PackageId and ComponentName from the
      selector, only from the AvailableTarget selected.
  8. 05 Nov, 2017 2 commits
    • Duncan Coutts's avatar
      Add a target selector for extra-packages. · f438b057
      Duncan Coutts authored
      Add TargetPackageNamed, like TargetPackage but for known packages
      within the project that are only specified by name. This includes the
      extra-packages from the @cabal.project@ file.
      It does not include indirect deps or other packages from hackage. That
      will be covered by a separate constructor.
      This replaces the previous TargetPackageName constructor which was part
      of a much more limited implementation of the same general idea.
    • Duncan Coutts's avatar
      Don't paramaterise the TargetSelector type · 11872e57
      Duncan Coutts authored
      Previously the TargetSelector type had a type param for the type of the
      package that it referred to. In particular we used it with types like:
      type Matcher  = ... -> Match (TargetSelector KnownPackage)
      type Renderer = TargetSelector PackageId -> ...
      However we are about to extend the TargetSelector so that it does not
      just refer to one form of package (e.g. KnownPackage) but can refer to
      packages via various different forms and partial information. So it no
      longer makes sense to have TargetSelector be paramaterised by the
      different states of the one kind of package it refers to, as there are
      now many kinds. So in preparation for that we simplify it so that it is
      equivalent to always using TargetSelector PackageId, and we remove the
      type paramater.
  9. 14 Oct, 2017 1 commit
    • Francesco Gazzetta's avatar
      Add a new-install command · 9c62e122
      Francesco Gazzetta authored
      Add the first part of the new-install command: nonlocal exes.
      See #4558 for the design concept.
      This part of the command installs executables from outside of a project
      (ie from hackage) in the store and then symlinks them in the cabal bin
      This is done by creating a dummy project and adding the targets as extra