-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #577 from WildGums/GitHubSync/20231011-143056
GitHubSync update
- Loading branch information
Showing
48 changed files
with
9,607 additions
and
9,620 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,58 @@ | ||
#l "./buildserver.cake" | ||
|
||
//------------------------------------------------------------- | ||
|
||
public class UwpContext : BuildContextWithItemsBase | ||
{ | ||
public UwpContext(IBuildContext parentBuildContext) | ||
: base(parentBuildContext) | ||
{ | ||
} | ||
|
||
public string WindowsStoreAppId { get; set; } | ||
public string WindowsStoreClientId { get; set; } | ||
public string WindowsStoreClientSecret { get; set; } | ||
public string WindowsStoreTenantId { get; set; } | ||
|
||
protected override void ValidateContext() | ||
{ | ||
} | ||
|
||
protected override void LogStateInfoForContext() | ||
{ | ||
CakeContext.Information($"Found '{Items.Count}' uwp projects"); | ||
} | ||
} | ||
|
||
//------------------------------------------------------------- | ||
|
||
private UwpContext InitializeUwpContext(BuildContext buildContext, IBuildContext parentBuildContext) | ||
{ | ||
var data = new UwpContext(parentBuildContext) | ||
{ | ||
Items = UwpApps ?? new List<string>(), | ||
WindowsStoreAppId = buildContext.BuildServer.GetVariable("WindowsStoreAppId", showValue: true), | ||
WindowsStoreClientId = buildContext.BuildServer.GetVariable("WindowsStoreClientId", showValue: false), | ||
WindowsStoreClientSecret = buildContext.BuildServer.GetVariable("WindowsStoreClientSecret", showValue: false), | ||
WindowsStoreTenantId = buildContext.BuildServer.GetVariable("WindowsStoreTenantId", showValue: false) | ||
}; | ||
|
||
return data; | ||
} | ||
|
||
//------------------------------------------------------------- | ||
|
||
List<string> _uwpApps; | ||
|
||
public List<string> UwpApps | ||
{ | ||
get | ||
{ | ||
if (_uwpApps is null) | ||
{ | ||
_uwpApps = new List<string>(); | ||
} | ||
|
||
return _uwpApps; | ||
} | ||
#l "./buildserver.cake" | ||
|
||
//------------------------------------------------------------- | ||
|
||
public class UwpContext : BuildContextWithItemsBase | ||
{ | ||
public UwpContext(IBuildContext parentBuildContext) | ||
: base(parentBuildContext) | ||
{ | ||
} | ||
|
||
public string WindowsStoreAppId { get; set; } | ||
public string WindowsStoreClientId { get; set; } | ||
public string WindowsStoreClientSecret { get; set; } | ||
public string WindowsStoreTenantId { get; set; } | ||
|
||
protected override void ValidateContext() | ||
{ | ||
} | ||
|
||
protected override void LogStateInfoForContext() | ||
{ | ||
CakeContext.Information($"Found '{Items.Count}' uwp projects"); | ||
} | ||
} | ||
|
||
//------------------------------------------------------------- | ||
|
||
private UwpContext InitializeUwpContext(BuildContext buildContext, IBuildContext parentBuildContext) | ||
{ | ||
var data = new UwpContext(parentBuildContext) | ||
{ | ||
Items = UwpApps ?? new List<string>(), | ||
WindowsStoreAppId = buildContext.BuildServer.GetVariable("WindowsStoreAppId", showValue: true), | ||
WindowsStoreClientId = buildContext.BuildServer.GetVariable("WindowsStoreClientId", showValue: false), | ||
WindowsStoreClientSecret = buildContext.BuildServer.GetVariable("WindowsStoreClientSecret", showValue: false), | ||
WindowsStoreTenantId = buildContext.BuildServer.GetVariable("WindowsStoreTenantId", showValue: false) | ||
}; | ||
|
||
return data; | ||
} | ||
|
||
//------------------------------------------------------------- | ||
|
||
List<string> _uwpApps; | ||
|
||
public List<string> UwpApps | ||
{ | ||
get | ||
{ | ||
if (_uwpApps is null) | ||
{ | ||
_uwpApps = new List<string>(); | ||
} | ||
|
||
return _uwpApps; | ||
} | ||
} |
Oops, something went wrong.