aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/CommandLine
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2019-10-07 11:18:13 -0700
committerRob Mensching <rob@firegiant.com>2019-10-07 11:59:14 -0700
commit860676fa5b40a1904478151e9b4934c004e7db63 (patch)
tree83fabd53f2a68dcf56bc8da66d88e115af3764b0 /src/WixToolset.Core/CommandLine
parent3b98dac62b47d590f3465985362d6e6fd100b1c0 (diff)
downloadwix-860676fa5b40a1904478151e9b4934c004e7db63.tar.gz
wix-860676fa5b40a1904478151e9b4934c004e7db63.tar.bz2
wix-860676fa5b40a1904478151e9b4934c004e7db63.zip
Implement Bundle build
Diffstat (limited to 'src/WixToolset.Core/CommandLine')
-rw-r--r--src/WixToolset.Core/CommandLine/BuildCommand.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/WixToolset.Core/CommandLine/BuildCommand.cs b/src/WixToolset.Core/CommandLine/BuildCommand.cs
index bfee2478..972258fe 100644
--- a/src/WixToolset.Core/CommandLine/BuildCommand.cs
+++ b/src/WixToolset.Core/CommandLine/BuildCommand.cs
@@ -122,7 +122,7 @@ namespace WixToolset.Core.CommandLine
122 } 122 }
123 else 123 else
124 { 124 {
125 this.BindPhase(wixipl, wxls, filterCultures, this.commandLine.CabCachePath, this.commandLine.BindPaths); 125 this.BindPhase(wixipl, wxls, filterCultures, this.commandLine.CabCachePath, this.commandLine.BindPaths, this.commandLine.BurnStubPath);
126 } 126 }
127 } 127 }
128 } 128 }
@@ -257,7 +257,7 @@ namespace WixToolset.Core.CommandLine
257 return linker.Link(context); 257 return linker.Link(context);
258 } 258 }
259 259
260 private void BindPhase(Intermediate output, IEnumerable<Localization> localizations, IEnumerable<string> filterCultures, string cabCachePath, IEnumerable<IBindPath> bindPaths) 260 private void BindPhase(Intermediate output, IEnumerable<Localization> localizations, IEnumerable<string> filterCultures, string cabCachePath, IEnumerable<IBindPath> bindPaths, string burnStubPath)
261 { 261 {
262 var intermediateFolder = this.IntermediateFolder; 262 var intermediateFolder = this.IntermediateFolder;
263 if (String.IsNullOrEmpty(intermediateFolder)) 263 if (String.IsNullOrEmpty(intermediateFolder))
@@ -290,6 +290,7 @@ namespace WixToolset.Core.CommandLine
290 { 290 {
291 var context = this.ServiceProvider.GetService<IBindContext>(); 291 var context = this.ServiceProvider.GetService<IBindContext>();
292 //context.CabbingThreadCount = this.CabbingThreadCount; 292 //context.CabbingThreadCount = this.CabbingThreadCount;
293 context.BurnStubPath = burnStubPath;
293 context.CabCachePath = cabCachePath; 294 context.CabCachePath = cabCachePath;
294 context.Codepage = resolveResult.Codepage; 295 context.Codepage = resolveResult.Codepage;
295 //context.DefaultCompressionLevel = this.DefaultCompressionLevel; 296 //context.DefaultCompressionLevel = this.DefaultCompressionLevel;
@@ -399,6 +400,8 @@ namespace WixToolset.Core.CommandLine
399 400
400 public List<IBindPath> BindPaths { get; } = new List<IBindPath>(); 401 public List<IBindPath> BindPaths { get; } = new List<IBindPath>();
401 402
403 public string BurnStubPath { get; private set; }
404
402 public string CabCachePath { get; private set; } 405 public string CabCachePath { get; private set; }
403 406
404 public List<string> Cultures { get; } = new List<string>(); 407 public List<string> Cultures { get; } = new List<string>();
@@ -480,6 +483,10 @@ namespace WixToolset.Core.CommandLine
480 } 483 }
481 break; 484 break;
482 } 485 }
486 case "burnstub":
487 this.BurnStubPath = parser.GetNextArgumentOrError(arg);
488 return true;
489
483 case "cc": 490 case "cc":
484 this.CabCachePath = parser.GetNextArgumentOrError(arg); 491 this.CabCachePath = parser.GetNextArgumentOrError(arg);
485 return true; 492 return true;