Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build only a single component #1554

Closed
ksvanhorn opened this issue Dec 22, 2015 · 1 comment
Closed

Cannot build only a single component #1554

ksvanhorn opened this issue Dec 22, 2015 · 1 comment

Comments

@ksvanhorn
Copy link

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

@mgsloan
Copy link
Contributor

mgsloan commented Dec 23, 2015

Stack can build a single component. The issue is that it needs to build all the executables along with the library. This happened due to a few things:

Closing as a dupe of #1406 , and bumping that issue's priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants