mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Request all outputs in JSONCompiler
This commit is contained in:
parent
73d25c883f
commit
123d85a19e
@ -128,6 +128,11 @@ string compile(StringMap const& _sources, bool _optimize, CStyleReadFileCallback
|
|||||||
input["settings"]["optimizer"]["enabled"] = _optimize;
|
input["settings"]["optimizer"]["enabled"] = _optimize;
|
||||||
input["settings"]["optimizer"]["runs"] = 200;
|
input["settings"]["optimizer"]["runs"] = 200;
|
||||||
|
|
||||||
|
// Enable all SourceUnit-level outputs.
|
||||||
|
input["settings"]["outputSelection"]["*"][""][0] = "*";
|
||||||
|
// Enable all Contract-level outputs.
|
||||||
|
input["settings"]["outputSelection"]["*"]["*"][0] = "*";
|
||||||
|
|
||||||
StandardCompiler compiler(wrapReadCallback(_readCallback));
|
StandardCompiler compiler(wrapReadCallback(_readCallback));
|
||||||
Json::Value ret = compiler.compile(input);
|
Json::Value ret = compiler.compile(input);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user