Skip to content

Commit

Permalink
Merge pull request haskell#4179 from dcoutts/target-handling
Browse files Browse the repository at this point in the history
Rework build target handling
  • Loading branch information
ezyang committed Mar 21, 2017
1 parent 2c7abac commit b2ee927
Show file tree
Hide file tree
Showing 67 changed files with 6,598 additions and 2,548 deletions.
5 changes: 5 additions & 0 deletions Cabal/doc/nix-local-build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,11 @@ A target can take any of the following forms:
a specific component (e.g., a library, executable, test suite or
benchmark) to be built.

- All packages: ``all``, which specifies all packages within the project.

- Components of a particular type: ``ctype``, ``package:ctype``, ``all:ctype``:
which specifies all components of the given type.

In component targets, ``package:`` and ``ctype:`` (valid component types
are ``lib``, ``exe``, ``test`` and ``bench``) can be used to
disambiguate when multiple packages define the same component, or the
Expand Down
Loading

0 comments on commit b2ee927

Please sign in to comment.