Skip to content

Commit

Permalink
fix: expose useElectronClang in the CLI interface
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed Oct 1, 2020
1 parent ed58dda commit 2bbb099
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const yargs = argParser
.alias('b','debug')
.describe('prebuild-tag-prefix', 'GitHub tag prefix passed to prebuild-install. Default is "v"')
.describe('force-abi', 'Override the ABI version for the version of Electron you are targeting. Only use when targeting Nightly releases.')
.describe('use-electron-clang', 'Use the clang executable that Electron used when building its binary. This will guarantee compiler compatibility')
.epilog('Copyright 2016');

const argv = yargs.argv;
Expand Down Expand Up @@ -138,6 +139,7 @@ process.on('unhandledRejection', handler);
debug: argv.b as boolean,
prebuildTagPrefix: (argv.prebuildTagPrefix as string) || 'v',
forceABI: argv.forceAbi as number,
useElectronClang: !!argv.useElectronClang,
projectRootPath,
});

Expand Down

0 comments on commit 2bbb099

Please sign in to comment.