Skip to content

Commit

Permalink
New build
Browse files Browse the repository at this point in the history
  • Loading branch information
zentron committed Sep 4, 2024
1 parent 9290def commit fa46cfe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,15 @@ public Build()
.DependsOn(Restore)
.Executes(() =>
{
Log.Information("Compiling Calamari v{CalamariVersion}", NugetVersion.Value);
Log.Information("Compiling Calamari v{CalamariVersion}", OctoVersionInfo.Value);

DotNetBuild(_ => _.SetProjectFile(SourceDirectory / "Calamari.FullFrameworkTools"/ "Calamari.FullFrameworkTools.csproj")
.SetConfiguration(Configuration)
.SetNoRestore(false)
.SetVersion(OctoVersionInfo.Value?.FullSemVer)
.SetInformationalVersion(OctoVersionInfo.Value?.InformationalVersion));
Log.Information("Done");

DotNetBuild(_ => _.SetProjectFile(Solution)
.SetConfiguration(Configuration)
.SetNoRestore(true)
Expand Down
2 changes: 1 addition & 1 deletion source/Calamari/Calamari.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@

<Target Name="IncludeDALImplementation" BeforeTargets="BeforeBuild">
<!--<Exec Command="dotnet build ..\Calamari.FullFrameworkTools\Calamari.FullFrameworkTools.csproj &#45;&#45;output $(OutDir)\Calamari.FullFrameworkTools" />-->
<Exec Command="dotnet build ..\Calamari.FullFrameworkTools\Calamari.FullFrameworkTools.csproj --configuration $(Configuration)" />
<!--<Exec Command="dotnet build ..\Calamari.FullFrameworkTools\Calamari.FullFrameworkTools.csproj &#45;&#45;configuration $(Configuration)" />-->
<ItemGroup>
<FullFrameworkFiles Include="$(MSBuildProjectDirectory)/../Calamari.FullFrameworkTools/bin/Debug/net462/*" />
</ItemGroup>
Expand Down

0 comments on commit fa46cfe

Please sign in to comment.