Skip to content

Commit

Permalink
Keep related code together as near as possible
Browse files Browse the repository at this point in the history
  • Loading branch information
IT-VBFK committed Jan 9, 2023
1 parent 9ce14da commit cbeb99c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Build/Build.cs
Expand Up @@ -70,7 +70,6 @@ class Build : NukeBuild
AbsolutePath TestResultsDirectory => RootDirectory / "TestResults";

string SemVer;
string YarnCli => $"{ToolPathResolver.GetPackageExecutable("Yarn.MSBuild", "yarn.js", "1.22.19")} --silent";

Target Clean => _ => _
.OnlyWhenDynamic(() => RunAllTargets || HasSourceChanges)
Expand Down Expand Up @@ -283,6 +282,8 @@ class Build : NukeBuild
customLogger: (_, msg) => Error(msg));
});

string YarnCli => $"{ToolPathResolver.GetPackageExecutable("Yarn.MSBuild", "yarn.js", "1.22.19")} --silent";

bool HasDocumentationChanges =>
Changes.Any(x => x.StartsWith("docs"));

Expand Down

0 comments on commit cbeb99c

Please sign in to comment.