Skip to content

Commit 2361fdc

Browse files
committed
Fix rendering of bullet point lists
1 parent a4a66f2 commit 2361fdc

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

doc/build_command.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ project-level configuration file (`stack.yaml`, by default).
7474
`stack build` takes a list of one or more optional *targets* to be built. The
7575
supported syntaxes for targets are as follows:
7676

77+
* no targets specified
78+
* *package*
79+
* *package identifier*
80+
* project package *component*
81+
* *local directory*
82+
7783
### No targets specified
7884

7985
Example: `stack build`
@@ -149,6 +155,7 @@ unknown.
149155
### Target: project package *component*
150156

151157
Examples:
158+
152159
* `stack build my-package:lib`
153160
* `stack build my-package:exe:my-executable`
154161
* `stack build my-package:test:my-test-suite`
@@ -186,6 +193,7 @@ For further information about available targets, see the
186193
### Target: *local directory*
187194

188195
Examples:
196+
189197
* `stack build foo/bar`
190198
* `stack build ./foo`
191199
* `stack build .`
@@ -194,17 +202,15 @@ Stack will find all project packages that exist in the given directory hierarchy
194202
and then follow the same procedure as passing in package names as mentioned
195203
above.
196204

205+
`stack build .` will target project packages in the current working directory or
206+
its subdirectories.
207+
197208
!!! note
198209

199-
If the directory name is parsed as one of the above target types, it will
210+
If the directory name is parsed as one of the other target types, it will
200211
be treated as that. Explicitly starting the target with `./` can avoid that.
201212
For example, `stack build ./foo`.
202213

203-
!!! note
204-
205-
`stack build .` will target project packages in the current working
206-
directory or its subdirectories.
207-
208214
## Controlling what gets built
209215

210216
Stack will automatically build the necessary dependencies. See the introductory

0 commit comments

Comments
 (0)