Skip to content

Commit

Permalink
chore: aggregate executable artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
hcoona committed Aug 26, 2022
1 parent ee314e6 commit ec71443
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -696,3 +696,6 @@ $RECYCLE.BIN/

# Generate with SlnGen
*.sln

# Artifacts folder
/artifacts
6 changes: 6 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,10 @@
<Company>Shuai Zhang</Company>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
</PropertyGroup>

<PropertyGroup Label="Artifacts">
<BaseArtifactsPath>$(EnlistmentRoot)\artifacts</BaseArtifactsPath>

<DefaultArtifactsFileMatch>$(DefaultArtifactsFileMatch) *.exe *.dll *.exe.config *.deps.json *.runtimeconfig.json *.nupkg</DefaultArtifactsFileMatch>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Sdk Name="Microsoft.Build.Artifacts" />

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand All @@ -9,6 +10,9 @@
<PublishSingleFile>False</PublishSingleFile>
<PublishReadyToRun>False</PublishReadyToRun>
<PublishTrimmed>False</PublishTrimmed>

<ArtifactsPath>$(BaseArtifactsPath)\GeothermalResearchInstitute.ServerConsole</ArtifactsPath>
<DefaultArtifactsFileMatch>$(DefaultArtifactsFileMatch) *.ini *.sqlite</DefaultArtifactsFileMatch>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<Sdk Name="Microsoft.Build.Artifacts" />

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>$(CurrentWpfTargetFramework)</TargetFramework>
Expand All @@ -12,6 +14,8 @@

<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>

<ArtifactsPath>$(BaseArtifactsPath)\GeothermalResearchInstitute.Wpf</ArtifactsPath>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<Sdk Name="Microsoft.Build.Artifacts" />

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>$(CurrentTargetFramework)</TargetFramework>
<ArtifactsPath>$(BaseArtifactsPath)\PhiFailureDetector.ConsoleApp</ArtifactsPath>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions global.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"rollForward": "latestMinor"
},
"msbuild-sdks": {
"Microsoft.Build.Artifacts": "4.0.4",
"Microsoft.Build.Traversal": "3.1.6",
"Microsoft.Build.CentralPackageVersions": "2.1.3",
"DotNet.ReproducibleBuilds.Isolated": "1.1.1"
Expand Down

0 comments on commit ec71443

Please sign in to comment.