added new options

pull/5370/head
aniket-engg 4 years ago
parent fe9fe766ab
commit ad4f818ac2
  1. 7
      libs/remix-tests/src/run.ts
  2. 2
      libs/remix-tests/src/types.ts

@ -45,8 +45,11 @@ commander.command('help').description('output usage information').action(functio
// get current version
commander
.option('-v, --verbose <level>', 'run with verbosity', mapVerbosity)
.option('-o, --optimize <bool>', 'run compiler optimization', mapOptimize)
.option('-c, --compiler <string>', 'set compiler version')
.option('-e, --evm <string>', 'set EVM version')
.option('-o, --optimize <bool>', 'enable/disable optimization', mapOptimize)
.option('-r, --runs <number>', 'set runs')
.option('-v, --verbose <level>', 'set verbosity level', mapVerbosity)
.action(async (testsPath) => {
// Check if path exists

@ -53,7 +53,7 @@ export interface CompilerConfiguration {
currentCompilerUrl: string,
evmVersion: string,
optimize: boolean,
usingWorker: boolean,
usingWorker?: boolean,
runs: number
}

Loading…
Cancel
Save