Skip to content

Conversation

@chevdor
Copy link
Contributor

@chevdor chevdor commented Oct 23, 2016

This is a rebased version of #55

  • Call with --help
  • New option to supply a custom compiler from the CLI
  • Add very basic contract
  • Move code out of the wrapper
  • Add clean script
  • Add some doc

@chevdor chevdor changed the title Add support for options Fix #48: Add support for options Oct 23, 2016
@chevdor chevdor changed the title Fix #48: Add support for options PR #48: Add support for options Oct 23, 2016
@chevdor chevdor mentioned this pull request Oct 23, 2016
@chriseth
Copy link
Contributor

I think the option to use a specific version of the compiler is a nice feature. What do you think, @axic? I would suggest --use-version <version> where version is a semver version (without the soljson prefix).

@chevdor
Copy link
Contributor Author

chevdor commented Apr 12, 2017

@chriseth regarding your last comment, I initially kept the +soljson+ part initially to allow easy copy past from the version list. No strong opinion on that though. Could you please provide feedback and/or merge?

New option to supply a custom compiler from the CLI
Add very basic contract
Move code out of the wrapper
Add clean script
Add some doc
@axic
Copy link
Contributor

axic commented Feb 12, 2018

@chevdor it would still be nice to merge your changes but they must be split up into bite sized chunks.

If you are still interested, as a start could you create a PR which only contains solcjs-get?

@chevdor
Copy link
Contributor Author

chevdor commented Feb 13, 2018 via email

@axic axic removed the needs review label Apr 13, 2018
@tzapu
Copy link

tzapu commented Jun 19, 2018

hey guys, thank you for your wonderful work. are there anymore plans to include this? i would really really love to be able to specify compiler version on the cli

cheers

@chevdor
Copy link
Contributor Author

chevdor commented Jun 19, 2018

Thanks for the bump @tzapu
I am checking out those (ancient) conflicts :)

@coveralls
Copy link

coveralls commented Jun 19, 2018

Coverage Status

Coverage decreased (-0.1%) to 60.674% when pulling 243ee8c on chevdor:PR48b into 495ca2d on ethereum:master.

@chevdor
Copy link
Contributor Author

chevdor commented Jun 19, 2018

@axic I made a PR with only solcjs-get. See #227

@chevdor chevdor changed the title PR #48: Add support for options Add support for options Jun 19, 2018
@tzapu
Copy link

tzapu commented Jun 20, 2018

thanks @chevdor for picking this right up
one thought, should loadRemoteVersion not use a version that's already downloaded, if it exists?
it would allow you to used cached versions of the bins via solcjs-get without having to download every time you run

/edit: i guess you can do it with this You can also load the "binary" manually and use setupMethods to create the familiar wrapper functions described above: var solc = solc.setupMethods(require("/my/local/soljson.js")). but then you's also need to make sure it was downloaded

@chevdor
Copy link
Contributor Author

chevdor commented Jun 20, 2018

I don´t mind improving but I would only invest the time if some of the PRs I submitted years ago get merged.

I created #227 to allow starting with smaller chunks and I would rather not grow the current PR too much right now as the reason it was not merged in the first place is probably the size.

So I suggest focusing on #227 at first, once we have this one in, #63 will probably be easier to review as it mainly contains additional tests and doc.

@chevdor
Copy link
Contributor Author

chevdor commented Jul 8, 2021

Ancient PR, not willing to fix conflicts once again.

@chevdor chevdor closed this Jul 8, 2021
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.

6 participants