Skip to content

Commit

Permalink
update doc to stack_snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
ylecornec committed Nov 25, 2021
1 parent e0e363b commit a5adfb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion haskell/cabal.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2525,13 +2525,14 @@ def stack_snapshot(
main library component, `exe:<exe-name>` for an executable component,
and `lib:<sublib-name>` for a sublibrary.
`exe` is a short-cut for `exe:<package-name>`. The main library component
will have the label `@<workspace>//:<package>`, an executable
will have the label `@<workspace>//:<package>` as well as the alias `@<workspace>//<package>`, an executable
component will have the label `@<workspace>-exe//<package>:<exe-name>`,
and a sublibrary component will have the label `@<workspace>//<package>:<sublib-name>`
where `<workspace>` is the name given to the `stack_snapshot`
invocation.
components_dependencies: Internal dependencies between package components.
For each package, these dependencies are described as a string representing a JSON dictionary of lists.
(WARNING: this will likely change in the future).
The most common case is the following, where the main library of a package depends on sublibraries:
```
Expand Down

0 comments on commit a5adfb1

Please sign in to comment.