Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Sep 16, 2024
  2. Sep 15, 2024
  3. Sep 13, 2024
  4. Sep 12, 2024
    • Javier Sagredo's avatar
      Remove read-only and force-remove on Windows · 82d977af
      Javier Sagredo authored
      Some git files are marked as read-only. To ensure we delete the folders we are
      supposed to, we first remove the read-only attribute via `CMD.exe`, then we
      forcibly delete the relevant directory.
      82d977af
  5. Sep 11, 2024
  6. Sep 10, 2024
  7. Sep 09, 2024
  8. Sep 08, 2024
  9. Sep 06, 2024
  10. Sep 05, 2024
  11. Sep 04, 2024
  12. Sep 02, 2024
  13. Sep 01, 2024
  14. Aug 31, 2024
  15. Aug 29, 2024
    • Matthew Pickering's avatar
      Add test for --working-dir and hsc2s · addcd41c
      Matthew Pickering authored
      Before the previous patches this test failed because an incorrect path
      was passed to hsc2hs (a preprocessor), it now succeeds :)
      addcd41c
    • Matthew Pickering's avatar
      Test --working-dir in the testsuite · ff7b4c10
      Matthew Pickering authored
      When testing `./Setup` only, when `withDirectory` is used, instead of
      changing into that directory when invoking processes, we now use the
      `--working-dir` flag and keep a fixed CWD.
      
      This will therefore passively test that `--working-dir` is working
      
      In addition, it makes it possible to test things easily such as
      `--working-dir` with a relative path as an argument. `cabal-install`
      will only invoke `--working-dir` with an absolute path and hence is
      isolated from any double interpretation issues.
      
      Testing against these double interpretation issues is very important as
      it also prevents over-interpretation of relative paths into absolute
      paths. Passing absolute paths to tools such as hsc2hs can lead to the
      build directory leaking into an interface file which leads to
      non-reproducible results.
      ff7b4c10
Loading