Cabal: gen-bounds for more than library stanzas

Created on 10 Mar 2019  路  1Comment  路  Source: haskell/cabal

Running cabal gen-bounds will give bounds for the library in my .cabal file. I would also like to see additional bounds for the executables, test-suites and benchmarks.

enhancement

Most helpful comment

It would be also cool if redundant bounds aren't added

i.e. (note no bound on base in tests, because tests depends on the library example)

name example

library
  build-depends:  base ^>=4.12.0.0

test-suite tests
  build-depends: base, example, tasty ^>=1.2.1

>All comments

It would be also cool if redundant bounds aren't added

i.e. (note no bound on base in tests, because tests depends on the library example)

name example

library
  build-depends:  base ^>=4.12.0.0

test-suite tests
  build-depends: base, example, tasty ^>=1.2.1
Was this page helpful?
0 / 5 - 0 ratings