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

Only build specific executables #336

Closed
lostman opened this issue Jun 17, 2015 · 2 comments
Closed

Only build specific executables #336

lostman opened this issue Jun 17, 2015 · 2 comments

Comments

@lostman
Copy link

lostman commented Jun 17, 2015

Suppose I have a package foo which defines executables exe1, exe2 and exe3.

With cabal build I can compile a single executable:

cd foo/
cabal build exe1

This is incredibly useful for development. Otherwise, even for small incremental changes, all executables are rebuilt and the bulk of time is spent on that.

@snoyberg
Copy link
Contributor

Please see #201, which I just implemented. It should now work to run stack build foo:exe1. If not, let's discuss on #201.

@RasmusWL
Copy link

RasmusWL commented Dec 13, 2016

For reference I will point to #1406 (stack 0.1.8 lost ability to build individual executables or library) so other people will realise faster that they are not idiots, and that this feature is just not working right now.

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

No branches or pull requests

3 participants