This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 09 Jul, 2020 1 commit
  2. 27 Jun, 2020 1 commit
  3. 04 Apr, 2020 1 commit
  4. 25 Feb, 2020 1 commit
    • Jacob Jonsson 's avatar
      docs: Reference default-extensions from ghc-options · 3006d6c4
      Jacob Jonsson authored
      Previously the user's guide stated that the extensions field was
      preferred over ghc-options, even though extensions are deprecated in
      favour for default-extensions. This commit updates the reference to
      default-extensions instead.
      3006d6c4
  5. 19 Feb, 2020 2 commits
  6. 27 Nov, 2019 1 commit
    • Herbert Valerio Riedel's avatar
      Implement {cmm.asm}-{options,sources} for real · a41ce05a
      Herbert Valerio Riedel authored
      While those buildinfo fields were added to the parser some time
      ago via 57d7f28e and
      4a287659 that work was never completed
      by implementing the necessary build/sdist logic in Cabal.
      
      This commit remedies this oversight by implementing and wiring up the
      missing build logic.
      
      *WARNING* this commit is still very WIP; ASM works mostly; C--
                support is still incomplete
      a41ce05a
  7. 25 Nov, 2019 1 commit
  8. 23 Sep, 2019 1 commit
    • Toon Nolten's avatar
      Improve hs-source-dirs documentation (#6225) · 12a49040
      Toon Nolten authored
      * Add deprecated hs-source-dir
      
      I replaced the note about `hs-source-dir` being deprecated in the
      description of `hs-source-dirs` by a field of its own to include the
      `deprecated` and `removed` fields because it's no longer in 3.0.
      
      * Add note to hs-source-dirs about multiple components
      
      Source directories can be shared among components but there's a
      non-obvious caveat which I've tried to clarify with a note.
      
      * Clarify shared source dir note
      
      Modules in a shared source directory can inadvertently end up getting
      compiled multiple times.
      
      [ci skip]
      12a49040
  9. 17 May, 2019 1 commit
  10. 08 May, 2019 1 commit
    • Oleg Grenrus's avatar
      Add autogen-includes field · 7e27ae7c
      Oleg Grenrus authored
      autogen-includes aren't searched nor packages by `sdist`.
      
      This is relatively small code patch, but there are
      - change in file-format
      - short documentation of the field
      - `cabal check`
      - test-suite noise due new field in `BuildInfo`
      7e27ae7c
  11. 01 May, 2019 1 commit
  12. 08 Apr, 2019 1 commit
  13. 04 Apr, 2019 1 commit
    • Oleg Grenrus's avatar
      Implement #5971. Free text fields preserve indentation · e4298a3c
      Oleg Grenrus authored
      Starting with `cabal-version: 3.0` free text fields
      preserve indentation and blank lines.
      In other words, we don't need single dots to indicate blank line.
      
      IPI is not versioned. So we default to latest variant always.
      This is little harm, as old GHC use old Cabal to print
      IPIs. And free text fields are only informative.
      
      Fixes #5938
      e4298a3c
  14. 02 Mar, 2019 1 commit
  15. 01 Mar, 2019 1 commit
  16. 09 Feb, 2019 1 commit
  17. 25 Jan, 2019 1 commit
  18. 24 Jan, 2019 1 commit
  19. 22 Jan, 2019 1 commit
  20. 04 Dec, 2018 1 commit
  21. 03 Dec, 2018 1 commit
    • Oleg Grenrus's avatar
      Remove fields in cabal spec 3.0 · 0d6343ac
      Oleg Grenrus authored
      - extensions
      - (singular) hs-source-dir
      - build-tools
      
      Example, with `cabal-version: 2.5`
      
      ```
      [laptop] tree-diff % cabal new-build --dry
      Errors encountered when parsing cabal file ./tree-diff.cabal:
      
      tree-diff.cabal:59:3: error:
      The field "extensions" is removed in the Cabal specification version 2.5. Please use 'default-extensions' or 'other-extensions' fields.
      
         58 | library
         59 |   extensions: CPP
            |   ^
      
      tree-diff.cabal:60:3: error:
      The field "extensions" is removed in the Cabal specification version 2.5. Please use 'default-extensions' or 'other-extensions' fields.
      
         59 |   extensions: CPP
         60 |   extensions: DeriveGeneric
            |   ^
      ```
      
      I needed to add new CabalSpecVersion to properly issue deprecation
      messages of `extensions`.
      0d6343ac
  22. 29 Nov, 2018 1 commit
    • Oleg Grenrus's avatar
      Add visible field to Library · 32fbd0b5
      Oleg Grenrus authored
      - for main library default is True
      - for named libraries default is False
      - remove Monoid Library instance; i'd rather remove emptyLibrary too
        but now these (two?) usages are explicit:
        - creating Library from BuildInfo when merging common stanzas
        - creation of dummy package in `cabal new-repl`
      - Documentation is left for Francesco to write
      - Field is named `visible` because we have `buildable` and `exposed`
        adjectives. `visibility: True` is unclear.
      32fbd0b5
  23. 17 Nov, 2018 1 commit
  24. 23 Oct, 2018 1 commit
  25. 07 Oct, 2018 1 commit
  26. 29 Sep, 2018 2 commits
  27. 06 Sep, 2018 1 commit
  28. 03 Sep, 2018 1 commit
  29. 07 Aug, 2018 1 commit
  30. 31 Jul, 2018 5 commits
  31. 05 Jul, 2018 1 commit
  32. 20 Jun, 2018 1 commit
  33. 19 Jun, 2018 2 commits