This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 08 May, 2011 1 commit
  2. 05 May, 2011 1 commit
    • intractable's avatar
      intrapackage-deps-and-per-component-preprocessing · 2e348126
      intractable authored
      This patch adds intrapackage dependency resolution so that components
      (libraries, exes, test suites) are build in the correct order.  This mean it's
      now possible to have, e.g., executables that depend on other executables defined
      in the same package description: the build-tools namespace has been extended
      accordingly.
        
      Related to this change is the refactoring of the do-it-all preprocessSources
      function, formerly invoked by initialBuildSteps, into a a function
      preprocessComponent that is invoked when a component is being built.  This lets
      us use executables defined in a package to be used as a custom preprocessor when
      building other components.
        
      Finally, a number of functions now operate on values of the sum type
      PackageDescription.Component rather than specifically operating on Library or
      Executable and so forth.
      2e348126
  3. 06 Oct, 2009 1 commit
  4. 15 Apr, 2011 1 commit
    • Duncan Coutts's avatar
      Implement Setup sdist --output-directory=dir · e41906a7
      Duncan Coutts authored
      That is, allow generating a dir tree rather than a tarball.
      Apart from being useful directly, this is the right approach for
      tools like cabal-install. cabal-install does the tar step itself
      and might like to do other things like zip format.
      Also cleaned up the sdist code a little.
      e41906a7
  5. 27 Apr, 2011 1 commit
  6. 26 Apr, 2011 2 commits
  7. 28 Mar, 2011 1 commit
  8. 30 Mar, 2011 2 commits
  9. 11 Apr, 2011 1 commit
  10. 01 Apr, 2011 1 commit
    • ttuegel's avatar
      Fix for test suite stanzas with conditionals. · 3922bde0
      ttuegel authored
      Ticket #811. This fixes a problem where Cabal would fail to detect the "type"
      field of a test suite when the test suite contained a conditional. Conditionals
      can now be used, with the restriction that the "type" field and the appropriate
      "main-is" or "test-module" field must be specified together in any conditional
      branch where they occur.
      3922bde0
  11. 03 Mar, 2011 1 commit
  12. 19 Jan, 2011 1 commit
  13. 17 Apr, 2011 1 commit
    • Ian Lynagh's avatar
      Refactor to avoid problems when $HOME is not set · cbe50672
      Ian Lynagh authored
      We now avoid calling getWindowsProgramFilesDir and
      getAppUserDataDirectory when we don't need to know their results.
      This means that a GHC build goes through when $HOME is unset
      (GHC trac #5047).
      cbe50672
  14. 27 Feb, 2011 2 commits
  15. 10 Feb, 2011 2 commits
  16. 30 Jan, 2011 1 commit
  17. 31 Jan, 2011 3 commits
  18. 30 Jan, 2011 1 commit
  19. 14 Jan, 2011 1 commit
  20. 13 Jan, 2011 1 commit
  21. 31 Jan, 2011 1 commit
  22. 30 Jan, 2011 1 commit
  23. 29 Jan, 2011 2 commits
  24. 11 Jan, 2011 2 commits
  25. 10 Jan, 2011 1 commit
    • ttuegel's avatar
      Tracking enabled/disabled TestSuites in PackageDescription. · f0a2d5e3
      ttuegel authored
      This patch adds the 'testEnabled' field to TestSuite. It's 
      undesirable to track build status information in the static package 
      description, but there is no better solution at this time. This 
      patch has the side-effect of fixing several TODOs in 
      Distribution.Simple.Configure.
      f0a2d5e3
  26. 29 Jan, 2011 1 commit
    • Duncan Coutts's avatar
      Relax QA check on test-suite sections to require only Cabal 1.8 · 4108560f
      Duncan Coutts authored
      Only Cabal-1.10 and later can use test suites. Versions of Cabal prior
      to 1.8 actually barf on test-suite sections, while Cabal-1.8 will
      ignore these sections with a warning. Previously the QA check enforced
      that packages with test-suite section specify 'cabal-version: >= 1.10'
      but strictly speaking we only need to require 'cabal-version: >= 1.8'.
      This relaxation allows people to write packages using test suites such
      that people using Cabal-1.8 will be able to build and install the
      package, just not run the test suite. Clear as mud?
      4108560f
  27. 16 Aug, 2009 1 commit
    • Thomas Schilling's avatar
      Add --html for haddock command. · 309c4efb
      Thomas Schilling authored
      This makes it easier to build both html documentation and a hoogle
      database:
      
        ./setup haddock [--html]   # build only HTML docs (default)
        ./setup haddock --hoogle   # build only Hoogle DB
        ./setup haddock --hoogle --html   # build both
      309c4efb
  28. 25 Jan, 2011 1 commit
  29. 24 Jan, 2011 1 commit
  30. 21 Jan, 2011 1 commit
  31. 17 Jan, 2011 2 commits