import type { Option as ForgeCompilerOption } from '../../types'; export const forgeCompilerOptions: ForgeCompilerOption[] = [ { flags: '--forge.ignored-error-codes ', description: 'Ignore solc warnings by error code.', }, { flags: '--forge.deny-warnings', description: 'Warnings will trigger a compiler error.', }, { flags: '--forge.no-auto-detect', description: 'Do not auto-detect solc.', }, { flags: '--forge.use ', description: 'Specify the solc version, or a path to a local solc, to build with.', }, { flags: '--forge.offline', description: 'Do not access the network. Missing solc versions will not be installed.', }, { flags: '--forge.via-ir', description: 'Use the Yul intermediate representation compilation pipeline.', }, { flags: '--forge.no-metadata', description: 'Do not append any metadata to the bytecode.', }, { flags: '--forge.silent', description: "Don't print anything on startup.", }, { flags: '--forge.ast', description: 'Includes the AST as JSON in the compiler output.', }, { flags: '--forge.evm-version ', description: 'The target EVM version.', }, { flags: '--forge.optimize', description: 'Activate the Solidity optimizer.', }, { flags: '--forge.optimizer-runs ', description: 'The number of optimizer runs.', }, { flags: '--forge.extra-output ', description: 'Extra output to include in the contract’s artifact.', }, { flags: '--forge.extra-output-files ', description: 'Extra output to write to separate files.', }, ];