46 lines
1.8 KiB
XML
46 lines
1.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\NozCli.Core\NozCli.Core.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Spectre.Console" Version="0.55.2" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<AssemblyName>noz</AssemblyName>
|
|
<RootNamespace>NozCli</RootNamespace>
|
|
<PublishAot>true</PublishAot>
|
|
<InvariantGlobalization>true</InvariantGlobalization>
|
|
<Version>0.1.0</Version>
|
|
<AssemblyVersion>0.1.0</AssemblyVersion>
|
|
<Authors>Bruno Deanoz</Authors>
|
|
<Copyright>Copyright (c) 2026 Bruno Deanoz</Copyright>
|
|
<Description>CLI for noz — create, edit, sync and manage notes in a self-hosted digital garden.</Description>
|
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
|
<RepositoryUrl>https://git.kryptomrx.de/noz/noz-cli</RepositoryUrl>
|
|
<RepositoryType>git</RepositoryType>
|
|
</PropertyGroup>
|
|
|
|
<!-- Bake git short hash into InformationalVersion (e.g. 0.1.0+abc1234) -->
|
|
<Target Name="SetGitHash" BeforeTargets="GetAssemblyVersion">
|
|
<Exec Command="git rev-parse --short HEAD" ConsoleToMSBuild="true" IgnoreExitCode="true">
|
|
<Output TaskParameter="ConsoleOutput" PropertyName="GitShortHash" />
|
|
</Exec>
|
|
<PropertyGroup>
|
|
<SourceRevisionId Condition="'$(GitShortHash)' != ''">$(GitShortHash)</SourceRevisionId>
|
|
</PropertyGroup>
|
|
</Target>
|
|
|
|
<!-- macOS: tell the linker where Homebrew's OpenSSL lives -->
|
|
<ItemGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))">
|
|
<LinkerArg Include="-L/opt/homebrew/opt/openssl/lib" />
|
|
<LinkerArg Include="-L/opt/homebrew/lib" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|