|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently `dispCompName CompNameLib` would just print `"lib"` however this
syntax is neither accepted by `cabal v1-build` nor `v2-build` as a valid target
selector making it somewhat useless for that use-case.
To specify a main library as a target selector one has to use the
`<namespace>:<component name>` syntax where `<component name>` is the name of
the respective package for unqualified libraries.
Hence this commit adds new function `dispCompName` with an additional `PkgName`
argument.
|