Skip to content

Cannot build only a single component #1554

Closed
@ksvanhorn

Description

@ksvanhorn

I've been going through the "In-depth guide to stack" document at https://www.fpcomplete.com/blog/2015/08/new-in-depth-guide-stack. In the section "Components, --test, and --bench", when I follow along and do "stack clean" followed by "stack build :helloworld-test", stack insists on building everything, including building and installing the executable. According to all documentation I can find, it should not build the executable.

Here is the full output I get:
output.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions