Skip to content

Commit 7fbe03b

Browse files
authored
move relevant sentence closer to the example
Yesterday, I didn't get that this dot is **not** a placeholder for 'nothing', but for the current directory, and spent long hours trying to generate a valid hie.yaml for a multi-package project :(
1 parent f65516d commit 7fbe03b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/yaml_configuration.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,14 @@ The `packages` field is _optional_. If omitted, it is treated as:
100100
packages:
101101
- .
102102
```
103+
Meaning that your project has exactly one package, and it is located
104+
in the current directory.
103105

104106
Each package directory specified must have a valid cabal file or hpack
105107
`package.yaml` file present. Note that the subdirectories of the
106108
directory are not searched for cabal files. Subdirectories will have
107109
to be specified as independent items in the list of packages.
108110

109-
Meaning that your project has exactly one package, and it is located
110-
in the current directory.
111-
112111
Project packages are different from snapshot dependencies (via
113112
`resolver`) and extra dependencies (via `extra-deps`) in multiple
114113
ways, e.g.:

0 commit comments

Comments
 (0)