Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. May 27, 2016
    • Duncan Coutts's avatar
      Add integration tests for setup script handling · 02464abe
      Duncan Coutts authored
      Covers 3 of the 4 possible cases:
      1. explicit custom setup deps
      2. custom setup with implicit/default deps
      4. non-custom setup using the internal cabal lib version
      
      case 3 is a non-custom setup but where we're forced to use an external
      cabal lib version. This case is hard to test since it only happens when
      it's a newer (not older) Cabal lib version that the package requires,
      e.g. a .cabal file that specifies cabal-version: >= 2.0.
      
      Also, add a --with-ghc option to the integration test suite, which lets us
      more easily test with different ghc versions.
      
      Also, don't use parallel builds in any of the integration tests, as the
      self-exec method will not work, and some tests need to install deps for
      some ghc versions.
      02464abe
  2. May 16, 2016
    • Duncan Coutts's avatar
      Fix handling of default setup deps · 5c93eef7
      Duncan Coutts authored
      Commit 2f976576 added default setup dep
      handling to the existing install command code paths, but unfortunately
      broke the handling for the new-build code path. It added a call to
      addDefaultSetupDependencies into the standardInstallPolicy. That
      interfered with the addDefaultSetupDependencies that ProjectPlanning was
      already using.
      
      So this patch splits a basicInstallPolicy out of standardInstallPolicy,
      where the basicInstallPolicy is all the old stuff, and the
      standardInstallPolicy just adds the addDefaultSetupDependencies that the
      install/fetch/freeze commands need. So then ProjectPlanning uses just
      the basicInstallPolicy.
      
      The 2f976576 commit also added a new and simpler method to determine if a
      package has had default setup deps added. Previously ProjectPlanning had
      to use a rather complex method to remember this information. So this
      patch removes all that and makes use of the new method.
      
      To stop this breaking in future the next patch adds integration tests to
      cover custom setup script handling.
      
      This fixed issue #3394.
      5c93eef7
  3. May 15, 2016
  4. May 14, 2016
  5. May 13, 2016
  6. May 12, 2016
  7. May 11, 2016
  8. May 10, 2016
  9. May 09, 2016
Loading