-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
4943626
commit e4c9d84
Showing
63 changed files
with
1,464 additions
and
1,009 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
using JetBrains.Annotations; | ||
using Nuke.Common; | ||
using Nuke.Common.Execution; | ||
using Rocket.Surgery.Nuke.DotNetCore; | ||
using Rocket.Surgery.Nuke; | ||
using JetBrains.Annotations; | ||
using Rocket.Surgery.Nuke.DotNetCore; | ||
|
||
[PublicAPI] | ||
[CheckBuildProjectConfigurations] | ||
[UnsetVisualStudioEnvironmentVariables] | ||
[PackageIcon("https://raw.githubusercontent.com/RocketSurgeonsGuild/graphics/master/png/social-square-thrust-rounded.png")] | ||
[PackageIcon( | ||
"https://raw.githubusercontent.com/RocketSurgeonsGuild/graphics/master/png/social-square-thrust-rounded.png" | ||
)] | ||
[EnsurePackageSourceHasCredentials("RocketSurgeonsGuild")] | ||
[EnsureGitHooks(GitHook.PreCommit)] | ||
class Solution : DotNetCoreBuild, IDotNetCoreBuild | ||
internal class Solution : DotNetCoreBuild, IDotNetCoreBuild | ||
{ | ||
/// <summary> | ||
/// Support plugins are available for: | ||
/// - JetBrains ReSharper https://nuke.build/resharper | ||
/// - JetBrains Rider https://nuke.build/rider | ||
/// - Microsoft VisualStudio https://nuke.build/visualstudio | ||
/// - Microsoft VSCode https://nuke.build/vscode | ||
/// - JetBrains ReSharper https://nuke.build/resharper | ||
/// - JetBrains Rider https://nuke.build/rider | ||
/// - Microsoft VisualStudio https://nuke.build/visualstudio | ||
/// - Microsoft VSCode https://nuke.build/vscode | ||
/// </summary> | ||
|
||
public static int Main() => Execute<Solution>(x => x.Default); | ||
|
||
Target Default => _ => _ | ||
.DependsOn(Restore) | ||
.DependsOn(Build) | ||
.DependsOn(Test) | ||
.DependsOn(Pack) | ||
; | ||
private Target Default => _ => _ | ||
.DependsOn(Restore) | ||
.DependsOn(Build) | ||
.DependsOn(Test) | ||
.DependsOn(Pack); | ||
|
||
public new Target Restore => _ => _.With(this, DotNetCoreBuild.Restore); | ||
public Target Restore => _ => _.With(this, DotNetCoreBuild.Restore); | ||
|
||
public new Target Build => _ => _.With(this, DotNetCoreBuild.Build); | ||
public Target Build => _ => _.With(this, DotNetCoreBuild.Build); | ||
|
||
public new Target Test => _ => _.With(this, DotNetCoreBuild.Test); | ||
public Target Test => _ => _.With(this, DotNetCoreBuild.Test); | ||
|
||
public new Target Pack => _ => _.With(this, DotNetCoreBuild.Pack); | ||
} | ||
public Target Pack => _ => _.With(this, DotNetCoreBuild.Pack); | ||
} |
Oops, something went wrong.