-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
72 changed files
with
1,390 additions
and
9,470 deletions.
There are no files selected for viewing
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
This file was deleted.
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
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
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// Copyright 2021 Maintainers of NUKE. | ||
// Distributed under the MIT License. | ||
// https://github.com/nuke-build/nuke/blob/master/LICENSE | ||
|
||
using System; | ||
using JetBrains.Annotations; | ||
using Nuke.Common; | ||
using Nuke.Common.Tooling; | ||
using Nuke.Common.Tools.Docker; | ||
using Serilog; | ||
|
||
partial class Build | ||
{ | ||
[UsedImplicitly] | ||
Target RunTargetInDockerImageTest => _ => _ | ||
.DockerRun(_ => _ | ||
.EnableBuildCaching() | ||
.SetImage("mcr.microsoft.com/dotnet/sdk:6.0") | ||
.When(EnvironmentInfo.IsArm64, _ => _ | ||
.SetPlatform("linux/arm64") | ||
.SetDotNetRuntime("linux-arm64")) | ||
.When(EnvironmentInfo.IsWin, _ => _ | ||
.SetPlatform("windows/amd64") | ||
.SetDotNetRuntime("win-x64")) | ||
.When(EnvironmentInfo.IsLinux, _ => _ | ||
.SetPlatform("linux/amd64") | ||
.SetDotNetRuntime("linux-x64"))) | ||
.Executes(() => | ||
{ | ||
Log.Information("Hello, the computer name is {Name}", Environment.MachineName); | ||
}); | ||
} |
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
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
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
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 |
---|---|---|
|
@@ -34,6 +34,8 @@ public enum AzurePipelinesRepositoryType | |
/// <summary> | ||
/// Subversion. | ||
/// </summary> | ||
Svn | ||
Svn, | ||
|
||
TfsGit | ||
} | ||
} |
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
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
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Copyright 2022 Maintainers of NUKE. | ||
// Distributed under the MIT License. | ||
// https://github.com/nuke-build/nuke/blob/master/LICENSE | ||
|
||
using System; | ||
using System.Linq; | ||
using JetBrains.Annotations; | ||
|
||
namespace Nuke.Common | ||
{ | ||
[PublicAPI] | ||
[AttributeUsage(AttributeTargets.Class)] | ||
public class DisableDefaultOutputAttribute : Attribute | ||
{ | ||
public DisableDefaultOutputAttribute(params DefaultOutput[] disabledOutputs) | ||
{ | ||
DisabledOutputs = disabledOutputs.Length > 0 | ||
? disabledOutputs | ||
: Enum.GetValues(typeof(DefaultOutput)).Cast<DefaultOutput>().ToArray(); | ||
} | ||
|
||
public DefaultOutput[] DisabledOutputs { get; } | ||
} | ||
|
||
public enum DefaultOutput | ||
{ | ||
Logo, | ||
TargetHeader, | ||
TargetCollapse, | ||
ErrorsAndWarnings, | ||
TargetOutcome, | ||
BuildOutcome, | ||
Timestamps | ||
} | ||
} |
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
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
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
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
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
Oops, something went wrong.