Skip to content

Commit

Permalink
chore: add global configuration to use new artifacts output (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabynevada authored Apr 18, 2023
1 parent 7b3b6df commit b3a02bd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 6 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Project>
<!-- See https://aka.ms/dotnet/msbuild/customize for more details on customizing your build -->
<PropertyGroup>
<UseArtifactsOutput>true</UseArtifactsOutput>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ System to match records utilizing demographic data.

## CLI Installation

To build the project you need the .NET 7 SDK. You can download it from [here](https://dotnet.microsoft.com/download/dotnet/7.0).
To build the project you need the .NET 8 SDK. You can download it from [here](https://dotnet.microsoft.com/download/dotnet/8.0).

Build the cli tool utilizing the following command:
```zsh
dotnet publish -c Release src/Biomatch.CLI
```

This will create a "**matching**" executable file for Linux-x64 systems. To build for other architectures, pass the -r parameter as the following example:
This will create a "**matching**" executable file for your current architecture. To build for other architectures, pass the -r parameter as the following example:
```zsh
dotnet publish -c Release -r linux-x64 src/Biomatch.CLI -o biomatch
```
Expand Down
1 change: 0 additions & 1 deletion src/Biomatch.CLI/Biomatch.CLI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<UseArtifactsOutput>true</UseArtifactsOutput>
<PublishAot>true</PublishAot>
<StripSymbols>true</StripSymbols>
</PropertyGroup>
Expand Down

0 comments on commit b3a02bd

Please sign in to comment.