@@ -160,12 +160,8 @@ Examples:
160
160
* ` stack build my-package:exe:my-executable `
161
161
* ` stack build my-package:test:my-test-suite `
162
162
* ` stack build my-package:bench:my-benchmark `
163
- * ` stack build my-package:my-executable `
164
163
* ` stack build my-package:my-test-suite `
165
- * ` stack build my-package:my-benchmark `
166
- * ` stack build :my-executable `
167
164
* ` stack build :my-test-suite `
168
- * ` stack build :my-benchmark `
169
165
170
166
You can select individual components from inside a project package to be built.
171
167
This can be done for more fine-grained control over which test suites to run, or
@@ -179,13 +175,11 @@ There are multiple ways to refer to a specific component:
179
175
associated component name, ` <comp-name> ` .
180
176
181
177
* ` <package-name>:<comp-name> ` allows you to leave out the component type, as
182
- that will often be unique for a given component name. For example,
183
- ` stack build mypackage:my-test-suite ` .
178
+ that will often be unique for a given component name.
184
179
185
180
* ` :<comp-name> ` is a useful shortcut, saying "find the component` <comp-name> `
186
181
in all of the project packages". This will result in an error if more than
187
- one package has a component with the specified name. For example,
188
- ` stack build :my-test-suite ` .
182
+ one package has a component with the specified name.
189
183
190
184
For further information about available targets, see the
191
185
[ ` stack ide targets ` command] ( ide_command.md ) .
0 commit comments