|
|
@ -25,10 +25,13 @@ public partial class Build |
|
|
|
|
|
|
|
|
[Parameter(Name = "api-baseline")] |
|
|
[Parameter(Name = "api-baseline")] |
|
|
public string ApiValidationBaseline { get; set; } |
|
|
public string ApiValidationBaseline { get; set; } |
|
|
|
|
|
|
|
|
[Parameter(Name = "update-api-suppression")] |
|
|
[Parameter(Name = "update-api-suppression")] |
|
|
public bool? UpdateApiValidationSuppression { get; set; } |
|
|
public bool? UpdateApiValidationSuppression { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
[Parameter(Name = "version-output-dir")] |
|
|
|
|
|
public AbsolutePath VersionOutputDir { get; set; } |
|
|
|
|
|
|
|
|
public class BuildParameters |
|
|
public class BuildParameters |
|
|
{ |
|
|
{ |
|
|
public string Configuration { get; } |
|
|
public string Configuration { get; } |
|
|
@ -70,6 +73,7 @@ public partial class Build |
|
|
public string ApiValidationBaseline { get; } |
|
|
public string ApiValidationBaseline { get; } |
|
|
public bool UpdateApiValidationSuppression { get; } |
|
|
public bool UpdateApiValidationSuppression { get; } |
|
|
public AbsolutePath ApiValidationSuppressionFiles { get; } |
|
|
public AbsolutePath ApiValidationSuppressionFiles { get; } |
|
|
|
|
|
public AbsolutePath VersionOutputDir { get; } |
|
|
|
|
|
|
|
|
public BuildParameters(Build b, bool isPackingToLocalCache) |
|
|
public BuildParameters(Build b, bool isPackingToLocalCache) |
|
|
{ |
|
|
{ |
|
|
@ -146,6 +150,7 @@ public partial class Build |
|
|
ZipCoreArtifacts = ZipRoot / ("Avalonia-" + FileZipSuffix); |
|
|
ZipCoreArtifacts = ZipRoot / ("Avalonia-" + FileZipSuffix); |
|
|
ZipNuGetArtifacts = ZipRoot / ("Avalonia-NuGet-" + FileZipSuffix); |
|
|
ZipNuGetArtifacts = ZipRoot / ("Avalonia-NuGet-" + FileZipSuffix); |
|
|
ApiValidationSuppressionFiles = RootDirectory / "api"; |
|
|
ApiValidationSuppressionFiles = RootDirectory / "api"; |
|
|
|
|
|
VersionOutputDir = b.VersionOutputDir; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
string GetVersion() |
|
|
string GetVersion() |
|
|
|