This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 08 Jan, 2008 1 commit
  2. 28 Dec, 2007 3 commits
  3. 27 Dec, 2007 1 commit
  4. 18 Dec, 2007 1 commit
    • Duncan Coutts's avatar
      Rejig --list-options handling so it takes priority · a8aadd42
      Duncan Coutts authored
      --list-options no takes priority over errors in other flags and over --help
      this is so that it can be used consistently for command completion without
      returning garbage (ie error messages on ill formed partial command lines
      or producing --help output). Also make --list-options list all the common
      options appart from itself, so that's just --help at the moment.
      a8aadd42
  5. 17 Dec, 2007 4 commits
  6. 15 Dec, 2007 1 commit
    • Duncan Coutts's avatar
      Make all command line flags and flag collection types monoids · 1352ee0b
      Duncan Coutts authored
      And specify command flags in a way that allows converting from or two strings.
      So not only can we parse command lines into the various flag types, we can
      convert back. This is crucial in cabal-install so that we can call Setup.hs
      scripts with all the various args, and override certain flags in a typed way
      rather than just representing them all as strings.
      1352ee0b
  7. 08 Dec, 2007 3 commits
    • Duncan Coutts's avatar
      Export Command constructor so cabal-install can make derived commands · 47c65d60
      Duncan Coutts authored
      Also move commandHelp out of the structure into a helper function. Change
      the type of commandOptions so it doesn't include the CommonFlag. Instead,
      add those in whenever necessary. This makes deriving commands easier.
      Also fix docs.
      47c65d60
    • Duncan Coutts's avatar
      Replace lots of configBlahDir fields with just one InstallDirs · f9a8db92
      Duncan Coutts authored
      So instead of 10 fields like this:
      configPrefix   :: Maybe FilePath,
      ...
      we have just one compound one:
      configInstallDirs   :: InstallDirs (Maybe FilePath)
      Now that LocalBuildInfo and cabal-install's config use InstallDirs it makes
      converting a lot easier since we can use fmap and combineInstallDirs.
      This should also be easier to maintain as it has significantly reduced the
      number of places in the code you have to change when you add/change a dir.
      f9a8db92
    • Duncan Coutts's avatar
      Merge InstallDirTemplates into InstallDirs · 6dfd6261
      Duncan Coutts authored
      This simplifies things and makes it a bit more versatile since
      we can use things like InstallDirs (Maybe PathTemplate).
      6dfd6261
  8. 15 Dec, 2007 2 commits
  9. 08 Dec, 2007 3 commits
  10. 07 Dec, 2007 6 commits
  11. 10 Dec, 2007 1 commit
  12. 09 Dec, 2007 1 commit
  13. 06 Dec, 2007 1 commit
  14. 05 Dec, 2007 1 commit
    • Duncan Coutts's avatar
      export ccLdOptionsBuildInfo helper function · e86d338e
      Duncan Coutts authored
      Useful in Setup.hs scripts for things like HSQL that need to
      find CC and LD flags by calling foo-config style programs.
      The same function is used internally for pkg-config support.
      e86d338e
  15. 02 Dec, 2007 1 commit
  16. 29 Nov, 2007 1 commit
  17. 21 Nov, 2007 1 commit
  18. 20 Nov, 2007 5 commits
  19. 16 Nov, 2007 3 commits