-
Notifications
You must be signed in to change notification settings - Fork 132
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
Add --deps-only
flag to spago build
#330
Comments
@justinwoo could you detail an example? |
if you remove deps you don't want in your project, your project doesn't build anymore. however, you still want to actually develop interactively at the leaf modules of your codebase. |
I'm not sure I understand how this can happen. Assuming you have dependencies
|
This is also a problem when you upgrade packages, which is the equivalent of removing a package to add another. |
Another crucial detail is that it's not like all non-project sources will be built guaranteed, especially if module headers are parsed first and the compiler determines that there are no valid build plans (for good reason) |
Really, the only actual workaround for this missing feature is to |
We had a IRL chat with @justinwoo and it turns out the reason why you'd want to compile deps-only is for cases in which you:
..and still want your So you'd do |
--deps-only
flag to spago build
Many times you will change deps in your project, and want to then interactively fix your codebase.
The text was updated successfully, but these errors were encountered: