Please get ready for sublibraries. Cabal is mostly there. This is good for distribution of closely related libraries within a single package.
-- wanted pkgA.cabal
name: pkgA
library
build-depends: foo
library foo
visible: True
# package.yaml
name: pkgA
library:
build-depends: foo
library foo:
visible: True
> hpack
WARNING: package.yaml: Ignoring unrecognized field $.library.build-depends
WARNING: package.yaml: Ignoring unrecognized field $.library foo
generated pkgA.cabal
-- generated pkgA.cabal
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.34.6.
--
-- see: https://github.com/sol/hpack
name: pkgA
version: 0.0.0
build-type: Simple
library
other-modules:
Paths_pkgA
default-language: Haskell2010
SEE: haskell/cabal#5660
SEE: brendanhay/amazonka#671
Please get ready for sublibraries. Cabal is mostly there. This is good for distribution of closely related libraries within a single package.
SEE: haskell/cabal#5660
SEE: brendanhay/amazonka#671