aboutsummaryrefslogtreecommitdiff
path: root/cabal-plan/src/Cabal/Plan.hs
Commit message (Collapse)AuthorAgeFilesLines
* Add cabal target-selector compatible pretty printer for CompNameDaniel Gröber2019-01-221-1/+11
| | | | | | | | | | | | | 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.
* git subrepo clone ../cabal-plan cabal-planDaniel Gröber2018-10-261-0/+576
subrepo: subdir: "cabal-plan" merged: "34506ab" upstream: origin: "../cabal-plan" branch: "master" commit: "34506ab" git-subrepo: version: "0.3.1" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "a7ee886"