This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 08 Jul, 2018 2 commits
    • quasicomputational's avatar
      Make Setup.hs configure more CWD-independent. · a31ab06a
      quasicomputational authored
      Previously, we were checking the package with a hard-coded root
      directory of ".". This was not a problem before, but with #5372 we
      have started to expand globs while checking packages, which breaks if
      the CWD is not the directory containing the `.cabal` file and causes
      snowleopard/hadrian#634.
      
      Luckily, this is an easy fix: the correct directory is easy to
      determine. Writing a test and making sure it's tickling the failing
      case took longer than writing the fix!
      
      "." is hard-coded as the root directory passed to `checkPackageFiles`
      in a few other places, but those are (a) non-trivial to test, and (b)
      already in places that have other assumptions about their CWD, so I
      have simply documented the CWD requirement for those.
      a31ab06a
    • quasicomputational's avatar
      Mention new-run in new-tests's --help output. · beb992e2
      quasicomputational authored
      It's non-obvious that the expected way to pass command line options to
      a test suite would be a different command, so mention it explicitly.
      
      Closes #5416.
      beb992e2
  2. 07 Jul, 2018 2 commits
  3. 05 Jul, 2018 1 commit
  4. 04 Jul, 2018 3 commits
  5. 28 Jun, 2018 2 commits
    • quasicomputational's avatar
      bootstrap: no need for old-locale and old-time now · c718a22f
      quasicomputational authored and Mikhail Glushenkov's avatar Mikhail Glushenkov committed
      jgm/zip-archive#47 has been merged and released as part of 0.3.3, so
      there is now no need to grab old-time and old-locale in booststrap.sh.
      c718a22f
    • quasicomputational's avatar
      Remove matchFileGlob. · 2b7be354
      quasicomputational authored and Mikhail Glushenkov's avatar Mikhail Glushenkov committed
      This was only a convenience function, but its use could obscure how it
      is introducing a dependency on the CWD. By removing it, the "."
      argument to `matchDirFileGlob` is explicit.
      
      Any external code using `matchFileGlob` would have needed to be
      changed as #5284 changed its signature and the module it lives in; it
      is not much more of a burden to switch to `matchDirFileGlob` at the
      same time.
      2b7be354
  6. 27 Jun, 2018 2 commits
  7. 26 Jun, 2018 14 commits
  8. 25 Jun, 2018 14 commits