Gearing up for the 2.2 release

Daniel Trstenjak daniel.trstenjak at gmail.com
Wed Dec 27 16:43:08 UTC 2017


Most likely the stability of the pretty printing of a GenericPackageDescription
isn't considered that important.

I just wanted to mention that the order of fields in the stanzas changed
from 'Cabal 1.24/2.0' to the current HEAD.

Greetings,
Daniel
-------------- next part --------------
name: setup-config
version: 0.1
cabal-version: >=1.9.2
build-type: Simple
license: UnspecifiedLicense
maintainer: daniel.trstenjak at gmail.com
author: Daniel Trstenjak

library
    exposed-modules:
        CabalBounds.Args
        CabalBounds.Command
        CabalBounds.Execute
        CabalBounds.Lenses
    build-depends:
        base >=3,
        A >=0.1 && <0.2,
        B >=0.2 && <0.4,
        C >=0.2.5 && <0.4,
        D >=0.7 && <0.9
    hs-source-dirs: src
    other-modules:
        Paths_setup_config

executable cabal-bounds
    main-is: ExeMain1.hs
    build-depends:
        base >=3,
        A >=0.1 && <0.2,
        B >=0.2 && <0.4,
        C >=0.2.5 && <0.4,
        D >=0.8.2 && <0.9
    cpp-options: -DCABAL
    hs-source-dirs: src
    other-modules:
        Paths_setup_config
        CabalBounds.Args
        CabalBounds.Command
        CabalBounds.Execute
        CabalBounds.Lenses
    ghc-options: -W

executable other-exe
    main-is: ExeMain2.hs
    build-depends:
        base >=3,
        A >=0.1 && <0.2,
        B >=0.2 && <0.4,
        C >=0.2.5 && <0.4,
        D >=0.8.2 && <0.9
    cpp-options: -DCABAL
    hs-source-dirs: src
    other-modules:
        Paths_setup_config
        CabalBounds.Args
        CabalBounds.Command
        CabalBounds.Execute
        CabalBounds.Lenses
    ghc-options: -W

test-suite some-test
    type: exitcode-stdio-1.0
    main-is: TestMain1.hs
    build-depends:
        base >=3,
        A >=0.1 && <0.2,
        B >=0.2 && <0.4,
        C >=0.2.5 && <0.4,
        D >=0.8.2 && <0.9
    hs-source-dirs: src
    other-modules:
        Paths_setup_config
        CabalBounds.Args
        CabalBounds.Command
        CabalBounds.Execute
        CabalBounds.Lenses
    ghc-options: -W
test-suite other-test
    type: exitcode-stdio-1.0
    main-is: TestMain2.hs
    build-depends:
        base >=3,
        A >=0.1 && <0.2,
        B >=0.2 && <0.4,
        C >=0.2.5 && <0.4,
        D >=0.8.2 && <1.0
    hs-source-dirs: src
    other-modules:
        Paths_setup_config
        CabalBounds.Args
        CabalBounds.Command
        CabalBounds.Execute
        CabalBounds.Lenses
    ghc-options: -W
-------------- next part --------------
name: setup-config
version: 0.1
license: UnspecifiedLicense
maintainer: daniel.trstenjak at gmail.com
author: Daniel Trstenjak
cabal-version: >=1.9.2
build-type: Simple

library
    exposed-modules:
        CabalBounds.Args
        CabalBounds.Command
        CabalBounds.Execute
        CabalBounds.Lenses
    hs-source-dirs: src
    other-modules:
        Paths_setup_config
    build-depends:
        base >=3,
        A >=0.1 && <0.2,
        B >=0.2 && <0.4,
        C >=0.2.5 && <0.4,
        D >=0.7 && <0.9

executable cabal-bounds
    main-is: ExeMain1.hs
    scope: unknown
    cpp-options: -DCABAL
    hs-source-dirs: src
    other-modules:
        Paths_setup_config
        CabalBounds.Args
        CabalBounds.Command
        CabalBounds.Execute
        CabalBounds.Lenses
    ghc-options: -W
    build-depends:
        base >=3,
        A >=0.1 && <0.2,
        B >=0.2 && <0.4,
        C >=0.2.5 && <0.4,
        D >=0.8.2 && <0.9

executable other-exe
    main-is: ExeMain2.hs
    scope: unknown
    cpp-options: -DCABAL
    hs-source-dirs: src
    other-modules:
        Paths_setup_config
        CabalBounds.Args
        CabalBounds.Command
        CabalBounds.Execute
        CabalBounds.Lenses
    ghc-options: -W
    build-depends:
        base >=3,
        A >=0.1 && <0.2,
        B >=0.2 && <0.4,
        C >=0.2.5 && <0.4,
        D >=0.8.2 && <0.9

test-suite some-test
    type: exitcode-stdio-1.0
    main-is: TestMain1.hs
    hs-source-dirs: src
    other-modules:
        Paths_setup_config
        CabalBounds.Args
        CabalBounds.Command
        CabalBounds.Execute
        CabalBounds.Lenses
    ghc-options: -W
    build-depends:
        base >=3,
        A >=0.1 && <0.2,
        B >=0.2 && <0.4,
        C >=0.2.5 && <0.4,
        D >=0.8.2 && <0.9

test-suite other-test
    type: exitcode-stdio-1.0
    main-is: TestMain2.hs
    hs-source-dirs: src
    other-modules:
        Paths_setup_config
        CabalBounds.Args
        CabalBounds.Command
        CabalBounds.Execute
        CabalBounds.Lenses
    ghc-options: -W
    build-depends:
        base >=3,
        A >=0.1 && <0.2,
        B >=0.2 && <0.4,
        C >=0.2.5 && <0.4,
        D >=0.8.2 && <1.0


More information about the cabal-devel mailing list