Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Apr 30, 2024
    • Phil de Joux's avatar
      Rename projects to cabal.*.project · d8147f62
      Phil de Joux authored
      - Rename cabal.bootstrap.project
      - Rename cabal.meta.project
      - Rename cabal.validate-libonly.project
      - Rename cabal.validate.project
      - Rename cabal.release.project
      d8147f62
  2. Apr 23, 2024
  3. Apr 06, 2024
  4. Apr 02, 2024
  5. Mar 26, 2024
    • Phil de Joux's avatar
      Remove projects; weeder, doctest & libonly · 72be26bd
      Phil de Joux authored
      * Remove cabal.project.libonly
      
      It was only referenced once in a stale Makefile comment about doctests.
      
      * Remove weeder
      
      - remove weeder's configuration
      - remove its recipe from Makefile
      - remove its project
      
      * Delete cabal.project.doctest
      
      - Adding --ghc-options="-Wwarn" is sufficient to avoid the numerous <interactive> failures seen otherwise
      - write-ghc-environment-files has a default of never
      72be26bd
    • Phil de Joux's avatar
      619befd0
    • Phil de Joux's avatar
      Import packages from project-cabal/pkgs · 0876e187
      Phil de Joux authored
      - Move constraints to project-cabal/constraints.config
      - Remove duplicate package groups
      - Groups coverage, doctest and validate are the same as the default group
      - Remove duplicate validate-libonly package group
      - Both validate and validate-libonly are the same
      - Move Cabal & Cabal-syntax to pkgs/cabal.config
      - Add install package group
      - Add benchmarks package group
      - Add tests package group
      - Both default and libonly groups were the same set of packages that I renamed to tests
      - Put install group before tests and benchmarks
      - Don't repeat packages
      - Add TODO and REVIEW comments on allow-newer exceptions
      - Move latest.ghc configuration
      - Put program-options first & separate imports
      - Remove optional-packages
      - Don't reiterate default value for tests and benchmarks
      - Don't reiterate default value for optimization
      - Add ghc-options.config
      - Rename to ghc-latest.config
      - Use -Werror in ghc-options.config
      - Don't include ghc-options.config for doctest project
      - Add project-config/pkgs.config
      - Add project-config/pkgs.config importing all package groups
      - Move Cabal-described to the cabal package group
      - Remove cabal.project.buildinfo
      - Have cabal.project.doctest import cabal.project
      - Split integration tests into their own package group.
      - Add back trailing newlines at EOF in projects
      - Integration-tests.config needed for libonly
      - Add a README for projects.
      0876e187
  6. Mar 20, 2024
  7. Jan 13, 2024
  8. Dec 29, 2023
  9. Dec 28, 2023
  10. Nov 23, 2023
    • Matthew Pickering's avatar
      formatting: Add style-commit makefile target · 4c884c0a
      Matthew Pickering authored
      This target allows you to format a range of commits, for example:
      
      ```
      make style-commit COMMIT=HEAD~1
      > Last commit is formatted
      make style-commit COMMIT=abcde
      > Commits between HEAD and abcde are formatted
      ```
      4c884c0a
  11. Oct 04, 2023
  12. Aug 21, 2023
  13. Aug 10, 2023
    • Andrea Bedini's avatar
      Add alex to build-tool-depends remove separate code gen (#8980) · 0ab5571e
      Andrea Bedini authored
      * Add alex to build-tool-depends and remove separate code gen
      
      - Pass latin-1 encoding is passed as input pragma
      - Cabal hard-codes -g for alex so we don't need to worry about --ghc
      - Rework bootstrap, adding per-component building
      - Update bootstrap plans
      
      * [bootstrap] warn the user if cabal config is not found
      
      * [bootstrap] regenerate bootstrap plans once more
      
      * [bootstrap] regenerate bootstrap files after #9139
      0ab5571e
  14. Jul 14, 2023
  15. Jul 11, 2023
  16. Jun 22, 2023
  17. May 24, 2023
  18. Apr 17, 2023
  19. Apr 13, 2023
  20. Mar 13, 2023
  21. Feb 16, 2023
  22. Feb 15, 2023
    • Artem Pelenitsyn's avatar
      doctests: switch to the preffered method of calling the tool · 822d1a73
      Artem Pelenitsyn authored
      which is `cabal repl --with-ghc=doctest`. This not only catches up with
      the current upstream recommendations, but also simplifies the usage:
      before this change calling doctest required you to set up an environment
      with QuickCheck available (we used to do it via cabal-env). The new
      method takes care of it automatically.
      
      Also add some docs to fix #8147
      822d1a73
  23. Feb 01, 2023
  24. Nov 14, 2022
  25. Aug 07, 2022
  26. Jun 22, 2022
    • Robert's avatar
      bootstrap: add GHC 9.0 and 9.2, and update all bootstrap files · 9e5b25ed
      Robert authored
      - parametrize the bootstrap update Makefile target to make changing
        the list of GHC versions a bit easier
      - add GHC 9.0.2 and 9.2.3 to the list of bootstrapping GHC versions
      - regenerate the bootstrapping plans across all GHC versions
      9e5b25ed
  27. May 10, 2022
  28. May 02, 2022
  29. Apr 06, 2022
  30. Feb 19, 2022
    • Andrea Bedini's avatar
      Avoid templating GitHub Actions workflow (#7952) · 65318cc6
      Andrea Bedini authored
      * Avoid templating GitHub Actions workflow
      
      GitHub Actions workflow have sufficient power to express what we need.
      We don't need to maintain and additional templating solution on top.
      
      * Add GHC 9.2, bump bounds, fix syntax
      
      * Switch to official haskell image
      
      * Always run cli tests for ghc 8.2 and above
      
      * Remove step to regenerate GitHub Actions workflows
      
      * Fix missed reference to GHC version
      
      * Fix yaml syntax
      
      * Fix type in the GHC version
      
      * More CI changes
      
      - Run bootstrap.yml on ubuntu-latest
      - Use explicit matrix for linux.yml
      - Drop containers in favour of haskell setup action
      - Drop workaround for ancient git
      
      * Remove unneeded package from CI setup
      
      I belive this is only necessary to run `cabal man` which we do not in
      the CI.
      
      * Drop old GHCs from the CI
      
      * Switch macos.yml to haskell/action/setup
      
      Also add the same GHC versions as Linux.
      
      * Simplify CI
      
      - Remove cabal-plan, we actually never call it (I think)
      - Remove vendored cabal-doctest
      - Remove few stray allow-newer clauses no longer necessary, apparently
      
      Originally done by @gbaz in PR #7907.
      
      * Mark GHC 9.2.1 as experimental
      
      * Remove reference to cabal-plan from validate.sh
      
      * setup-haskell action already runs cabal update
      
      * Add missing build matrix in test-windows-dogfood
      
      * Replace cabal-plan list-bin with cabal list-bin
      
      * Enable caching in the CI
      
      * Fix typo
      
      * Remove continue-on-error until I figure it out
      
      * Keep naming consistent
      
      * Temporarily disable 8.0.2 on macos
      
      * Add missing step id
      
      * Tweaks
      
      Remove workaround for nektos/act, it accidentally sneaked in.
      
      * More tweaks
      
      * Tweaks
      
      * Restore cabal-plan, temporarily mark everything experimental
      
      cabal list-bin doesn't seem to work like cabal-plan does.
      
      * Tweaks
      
      * Ensure cabal-plan executable gets built
      
      * Install automake on MacOS
      
      * Tweaks
      
      * Tweaks
      
      Link experimental flags to relative GitHub issues
      
      * Fix typo
      65318cc6
Loading