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

Better environments #610

Merged
merged 11 commits into from
Apr 14, 2020
Merged

Better environments #610

merged 11 commits into from
Apr 14, 2020

Conversation

f-f
Copy link
Member

@f-f f-f commented Apr 12, 2020

This (rather large, sorry for that) refactoring completes the work of introducing RIO that started in #486

The reason for this PR is to tidy up the "execution requirements" of every command - i.e. what does every command need in order to run.
For how the code is structured now this will allow us to request "capabilities" in functions where we need them.
Example: there's now a HasPurs typeclass that gives the path of the compiler. If there's no purs we now fail right at the beginning with a decent error message, rather than deep in the execution tree when we actually need to run it.

This is a breaking change because it removes the deprecated --no-share-output flag for build commands.

Fix #578
Fix #393
Close #609

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

Successfully merging this pull request may close these issues.

Cannot genenerate Bower config using spago Run package-set commands without spago.dhall present
1 participant