truffle-compile icon indicating copy to clipboard operation
truffle-compile copied to clipboard

BYOC @develop

Open cgewecke opened this issue 7 years ago • 4 comments

DO NOT MERGE

BYOC withoutweb3 1.0.

cgewecke avatar May 07 '18 00:05 cgewecke

Does BYOC stands for "bring your own compiler"? :)

axic avatar Jun 12 '18 19:06 axic

@axic Yes - it means bring your own (solidity) compiler - e.g. any version, docker etc. Features listed here.

Will be in Truffle 5 and there's a pre-release of it available from npm as: darq-truffle@byoc

cgewecke avatar Jun 12 '18 21:06 cgewecke

Awesome!

I see it has a couple of options. Will it support an absolute path to be passed pointing to a soljson? Or to a solc?

axic avatar Jun 12 '18 21:06 axic

@axic Path to soljson is supported. Natively compiled solc is run as a child_process exec and I haven't added path support to that. . . probably a good idea though.

cgewecke avatar Jun 12 '18 23:06 cgewecke