Skip to content

Commit

Permalink
Remove unnecessary property
Browse files Browse the repository at this point in the history
  • Loading branch information
SonnyRR committed Nov 24, 2024
1 parent bdd01e4 commit dc2963e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
4 changes: 0 additions & 4 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,6 @@
"GitAuthorUsername": {
"type": "string",
"description": "The git author username, used for tagging release commits"
},
"Solution": {
"type": "string",
"description": "Path to a solution file that is automatically loaded. Default is NukeSandbox.sln"
}
}
},
Expand Down
5 changes: 1 addition & 4 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ class Build : NukeBuild

public static int Main() => Execute<Build>(b => b.Compile);

[Solution("NukeSandbox.sln", SuppressBuildProjectCheck = true)]
readonly Solution Solution;

[GitRepository]
readonly GitRepository GitRepository;

Expand Down Expand Up @@ -56,7 +53,7 @@ class Build : NukeBuild
.Executes(() => DotNetClean(c => c.SetProject(ApiProject)));

Target Restore => _ => _
.Executes(() => DotNetRestore(s => s.SetProjectFile(Solution)));
.Executes(() => DotNetRestore(s => s.SetProjectFile(ApiProject)));

Target Compile => _ => _
.DependsOn(Clean, Restore)
Expand Down

0 comments on commit dc2963e

Please sign in to comment.