From 2987581a10fbc724c638066c1ad67284972f3c10 Mon Sep 17 00:00:00 2001 From: Romain Cointepas Date: Thu, 8 Jun 2017 21:41:10 +0800 Subject: [PATCH 1/2] CLI default types should be "prod,optional" --- src/cli.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli.ts b/src/cli.ts index bbafd4ec..3dafc1bf 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -98,7 +98,7 @@ process.on('unhandledRejection', handler); } } - const rebuilder = rebuild(rootDirectory, electronPrebuiltVersion, argv.a || process.arch, argv.w ? argv.w.split(',') : [], argv.f, argv.d, argv.t ? argv.t.split(',') : ['prod', 'dev'], argv.p ? 'parallel' : (argv.s ? 'sequential' : undefined)); + const rebuilder = rebuild(rootDirectory, electronPrebuiltVersion, argv.a || process.arch, argv.w ? argv.w.split(',') : [], argv.f, argv.d, argv.t ? argv.t.split(',') : ['prod', 'optional'], argv.p ? 'parallel' : (argv.s ? 'sequential' : undefined)); const lifecycle = rebuilder.lifecycle; @@ -122,4 +122,4 @@ process.on('unhandledRejection', handler); rebuildSpinner.text = 'Rebuild Complete'; rebuildSpinner.succeed(); -})(); \ No newline at end of file +})(); From 902fa0a58170f2cfb62c07ca912d0690654b972c Mon Sep 17 00:00:00 2001 From: Romain Cointepas Date: Thu, 8 Jun 2017 21:43:11 +0800 Subject: [PATCH 2/2] Update cli.ts