| 139 | static std::string const g_strVersion = "version"; |
| 140 | |
| 141 | static bool needsHumanTargetedStdout(CommandLineOptions const& _options) |
| 142 | { |
| 143 | if (_options.compiler.estimateGas) |
| 144 | return true; |
| 145 | if (!_options.output.dir.empty()) |
| 146 | return false; |
| 147 | return |
| 148 | _options.compiler.outputs.abi || |
| 149 | _options.compiler.outputs.asm_ || |
| 150 | _options.compiler.outputs.asmJson || |
| 151 | _options.compiler.outputs.yulCFGJson || |
| 152 | _options.compiler.outputs.binary || |
| 153 | _options.compiler.outputs.binaryRuntime || |
| 154 | _options.compiler.outputs.ethdebugResources || |
| 155 | _options.compiler.outputs.ethdebugCompilation || |
| 156 | _options.compiler.outputs.ethdebugProgram || |
| 157 | _options.compiler.outputs.ethdebugProgramRuntime || |
| 158 | _options.compiler.outputs.metadata || |
| 159 | _options.compiler.outputs.natspecUser || |
| 160 | _options.compiler.outputs.natspecDev || |
| 161 | _options.compiler.outputs.opcodes || |
| 162 | _options.compiler.outputs.signatureHashes || |
| 163 | _options.compiler.outputs.storageLayout || |
| 164 | _options.compiler.outputs.transientStorageLayout; |
| 165 | } |
| 166 | |
| 167 | static bool coloredOutput(CommandLineOptions const& _options) |
| 168 | { |
no test coverage detected