Skip to content

Commit

Permalink
Working on build improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRappl committed Jul 28, 2024
1 parent 0381d18 commit 6df92f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ if (isRunningOnGitHubActions)
}
}

var buildDir = Directory("./src/Mages.Core/bin") + Directory(configuration) + Directory("netstandard2.0");
var replDir = Directory("./src/Mages.Repl/bin") + Directory(configuration) + Directory("netcoreapp3.1");
var installerDir = Directory("./src/Mages.Repl.Installer/bin") + Directory(configuration) + Directory("net45");
var buildDir = Directory("./src/Mages.Core/bin") + Directory(configuration) + Directory("netstandard2.1");
var replDir = Directory("./src/Mages.Repl/bin") + Directory(configuration) + Directory("net60");
var installerDir = Directory("./src/Mages.Repl.Installer/bin") + Directory(configuration) + Directory("net50");
var buildResultDir = Directory("./bin") + Directory(version);
var nugetRoot = buildResultDir + Directory("nuget");
var chocolateyRoot = buildResultDir + Directory("chocolatey");
Expand Down Expand Up @@ -123,7 +123,7 @@ Task("Copy-Files")
.IsDependentOn("Build")
.Does(() =>
{
var nugetBin = nugetRoot + Directory("lib") + Directory("netstandard2.0");
var nugetBin = nugetRoot + Directory("lib") + Directory("netstandard2.1");
CreateDirectory(nugetBin);
CreateDirectory(squirrelBin);
CreateDirectory(releaseDir);
Expand Down Expand Up @@ -268,7 +268,7 @@ Task("Publish-GitHub-Release")
TargetCommitish = isPublish ? "main" : "devel"
}).Result;

var target = nugetRoot + Directory("lib") + Directory("netstandard2.0");
var target = nugetRoot + Directory("lib") + Directory("netstandard2.1");
var libPath = target + File("Mages.Core.dll");
var releaseFiles = GetFiles(releaseDir.Path.FullPath + "/*");

Expand Down
2 changes: 1 addition & 1 deletion src/Mages.Nuget.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<copyright>Copyright 2024, Florian Rappl.</copyright>
<tags>interpreter mages expression scripting language mathematics performance</tags>
<dependencies>
<group targetFramework="netstandard2.0"></group>
<group targetFramework="netstandard2.1"></group>
</dependencies>
</metadata>
</package>

0 comments on commit 6df92f0

Please sign in to comment.