Skip to content

Commit 5cf9d81

Browse files
committed
Fixed csproj casing
1 parent aee3e16 commit 5cf9d81

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build.cake

+5-3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ string version = null,
1818
semVersion = null,
1919
milestone = null;
2020

21+
FilePath litjsonProjectPath = "./src/LitJson/LitJSON.csproj";
22+
2123
///////////////////////////////////////////////////////////////////////////////
2224
// SETUP / TEARDOWN
2325
///////////////////////////////////////////////////////////////////////////////
@@ -129,17 +131,17 @@ Task("Test-SourceLink")
129131
.IsDependentOn("Build")
130132
.WithCriteria(IsRunningOnWindows())
131133
.Does(() => {
132-
foreach(var asssembly in GetFiles("./src/LitJSON/bin/" + configuration + "/**/*.dll"))
134+
foreach(var asssembly in GetFiles("./src/LitJson/bin/" + configuration + "/**/*.dll"))
133135
{
134-
DotNetCoreTool("./src/LitJSON/LitJSON.csproj", "sourcelink", $"test {asssembly}");
136+
DotNetCoreTool(litjsonProjectPath.FullPath, "sourcelink", $"test {asssembly}");
135137
}
136138
});
137139

138140
Task("Package")
139141
.IsDependentOn("Test")
140142
.IsDependentOn("Test-SourceLink")
141143
.Does(() => {
142-
DotNetCorePack("./src/LitJSON/LitJSON.csproj",
144+
DotNetCorePack(litjsonProjectPath.FullPath,
143145
new DotNetCorePackSettings {
144146
Configuration = configuration,
145147
NoBuild = true,

0 commit comments

Comments
 (0)