-
Notifications
You must be signed in to change notification settings - Fork 701
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c673faf
commit 2135858
Showing
1 changed file
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
--- | ||
synopsis: Discovery targets in a project | ||
synopsis: Discover targets in a project | ||
packages: [cabal-install] | ||
prs: 9744 | ||
issues: [4070,8953] | ||
significance: significant | ||
--- | ||
|
||
Adds a `cabal target` command for discovering, disclosing and checking selected | ||
targets. The returned list shows targets in fully-qualified form. These are | ||
unambiguous and can be used with other commands expecting `[TARGETS]`. | ||
Adds a `cabal target` command that is useful for discovering targets in a | ||
project for use with other commands taking ``[TARGETS]``. | ||
|
||
Any target form except for a script target can be used with ``cabal target``. | ||
|
||
This command, like many others, takes ``[TARGETS]``. Taken together, these will | ||
select for a set of targets in the project. When none are supplied, the command | ||
acts as if ``all`` was supplied. Targets in the returned subset are shown sorted | ||
and fully-qualified with package, component type and component name such as | ||
`Cabal-tests:test:hackage-tests`. |