Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Allow RPC to use solc to compile solidity #1607

Merged
merged 5 commits into from
Jul 14, 2016
Merged

Allow RPC to use solc to compile solidity #1607

merged 5 commits into from
Jul 14, 2016

Conversation

gavofyork
Copy link
Contributor

No description provided.

@gavofyork gavofyork added the A0-pleasereview 🤓 Pull request needs code review. label Jul 13, 2016
.stdout(Stdio::piped())
.stderr(Stdio::null())
.spawn();
if let Ok(mut child) = maybe_child {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of the errors are discarded anyway, maybe it would look better using .and_then ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure - i think we will still end up with a scope-triangle anyway since it's not a pipeline of data refinement. we don't favour .for_each over for, so i'm not sure why we'd favour .and_then over if let.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I think and_then should keep the indentation on the same level, but not really forcing it - just a hint.

Copy link
Contributor Author

@gavofyork gavofyork Jul 13, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it were a pure data refinement pipeline, then for sure. with a lot of faff currying locals around in tuples, i guess if might work, but the code would be less readable. feel free to demonstrate if you reckon otherwise.

@tomusdrw tomusdrw added A5-grumble 🔥 Pull request has minor issues that must be addressed before merging. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jul 13, 2016
@gavofyork gavofyork changed the title Allow use to use solc to compile solidity. Allow RPC to use solc to compile solidity on Mac + Linux Jul 13, 2016
@gavofyork gavofyork added A0-pleasereview 🤓 Pull request needs code review. and removed A5-grumble 🔥 Pull request has minor issues that must be addressed before merging. labels Jul 13, 2016
@gavofyork gavofyork changed the title Allow RPC to use solc to compile solidity on Mac + Linux Allow RPC to use solc to compile solidity Jul 13, 2016
@tomusdrw tomusdrw closed this Jul 14, 2016
@tomusdrw tomusdrw reopened this Jul 14, 2016
@coveralls
Copy link

coveralls commented Jul 14, 2016

Coverage Status

Changes Unknown when pulling c0dca74 on use-solc into * on master*.

@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jul 14, 2016
@gavofyork gavofyork merged commit 2b193f0 into master Jul 14, 2016
@gavofyork gavofyork deleted the use-solc branch July 14, 2016 12:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants