Add cli target support for out-of-project package names
There is nothing except for syntax support, but this is a first step towards proper support for targets refering to dependencies or to out of project packages. For the moment, when used, it will report: cabal: Cannot build the package foobar, it is not in this project (either directly or indirectly). If you want to add it to the project then edit the cabal.project file. Also update the test output for an integration test.
Showing
- cabal-install/Distribution/Client/CmdErrorMessages.hs 8 additions, 0 deletionscabal-install/Distribution/Client/CmdErrorMessages.hs
- cabal-install/Distribution/Client/ProjectOrchestration.hs 2 additions, 0 deletionscabal-install/Distribution/Client/ProjectOrchestration.hs
- cabal-install/Distribution/Client/TargetSelector.hs 11 additions, 2 deletionscabal-install/Distribution/Client/TargetSelector.hs
- cabal-testsuite/PackageTests/NewBuild/CmdRun/Single/cabal.out 1 addition, 3 deletions...l-testsuite/PackageTests/NewBuild/CmdRun/Single/cabal.out
Loading
Please register or sign in to comment