File tree 1 file changed +14
-2
lines changed
src/CodeQLToolkit.Shared/CodeQL
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 6
6
using LibGit2Sharp ;
7
7
using System . IO . Compression ;
8
8
using System . Diagnostics ;
9
+ using System ;
9
10
10
11
11
12
@@ -284,6 +285,17 @@ private void CustomBundleInstall()
284
285
// next, we run the bundling tool.
285
286
// typical command line:
286
287
// codeql_bundle -b .\scratch\codeql-bundle-win64.tar.gz -o scratch\out -w .\tests\workspace\ --help
288
+ var bundleArgs = $ "--log DEBUG -b { customBundleSource } -o { CustomBundleOutputDirectory } -w { workingDirectory } { packs } ";
289
+
290
+ if ( QuickBundle )
291
+ {
292
+ Log < CodeQLInstallation > . G ( ) . LogInformation ( $ "Note: Quick Bundles enabled and pre-compilation will be disabled...") ;
293
+ bundleArgs = $ "--log DEBUG -nc -b { customBundleSource } -o { CustomBundleOutputDirectory } -w { workingDirectory } { packs } ";
294
+ }
295
+
296
+ Log < CodeQLInstallation > . G ( ) . LogInformation ( $ "Executing Bundle Tool with Working Directory: `{ workingDirectory } `") ;
297
+ Log < CodeQLInstallation > . G ( ) . LogInformation ( $ "Executing Bundle Tool with Arguments: `{ bundleArgs } `") ;
298
+
287
299
using ( Process process = new Process ( ) )
288
300
{
289
301
process . StartInfo . FileName = ToolUtil . GetTool ( "codeql_bundle" ) ;
@@ -294,11 +306,11 @@ private void CustomBundleInstall()
294
306
if ( QuickBundle )
295
307
{
296
308
Log < CodeQLInstallation > . G ( ) . LogInformation ( $ "Note: Quick Bundles enabled and pre-compilation will be disabled...") ;
297
- process . StartInfo . Arguments = $ "-nc -b { customBundleSource } -o { CustomBundleOutputDirectory } -w { workingDirectory } { packs } " ;
309
+ process . StartInfo . Arguments = bundleArgs ;
298
310
}
299
311
else
300
312
{
301
- process . StartInfo . Arguments = $ "-b { customBundleSource } -o { CustomBundleOutputDirectory } -w { workingDirectory } { packs } " ;
313
+ process . StartInfo . Arguments = bundleArgs ;
302
314
}
303
315
304
316
process . Start ( ) ;
You can’t perform that action at this time.
0 commit comments