Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Commit

Permalink
chg - Finalized the D.B.props file
Browse files Browse the repository at this point in the history
---

Type: chg
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Apr 27, 2024
1 parent 5bfbbaa commit 2e42e32
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 24 deletions.
22 changes: 22 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Project>
<PropertyGroup>
<Version>0.1.0.1</Version>
<Authors>Aptivi</Authors>
<Company>Aptivi</Company>
<Copyright>Copyright (c) 2024 Aptivi</Copyright>
<LangVersion>latest</LangVersion>
<DebugType>portable</DebugType>
<SignAssembly>True</SignAssembly>
<RootPath>$(MSBuildThisFileDirectory)</RootPath>
<AssemblyOriginatorKeyFile>$(RootPath)\aptivi_snk.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
</Project>
7 changes: 4 additions & 3 deletions EnumMagic.Tests/EnumMagic.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

<PropertyGroup>
<TargetFrameworks>net8.0;net48</TargetFrameworks>
<LangVersion>latest</LangVersion>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\aptivi_snk.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\EnumMagic\EnumMagic.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Remove="Microsoft.SourceLink.GitHub" />
</ItemGroup>

</Project>
17 changes: 0 additions & 17 deletions EnumMagic/EnumMagic.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,16 @@
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<IncludeSymbols>True</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Version>0.1.0.1</Version>
<Authors>Aptivi</Authors>
<Company>Aptivi Corp.</Company>
<Description>A collection of tools that provide you magic tricks on IEnumerable objects.</Description>
<Copyright>Copyright (c) 2024 Aptivi.</Copyright>
<PackageProjectUrl>https://github.com/Aptivi/EnumMagic</PackageProjectUrl>
<RepositoryUrl>https://github.com/Aptivi/EnumMagic</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>dictionary;api;free;csharp;visualbasic;word;meaning;definition;text;tools;library</PackageTags>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<PackageVersion>0.1.0.1</PackageVersion>
<PackageIcon>OfficialAppIcon-EnumMagic-512.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageId>EnumMagic</PackageId>
<LangVersion>latest</LangVersion>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\aptivi_snk.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -33,15 +25,6 @@
</None>
</ItemGroup>

<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
<None Include="OfficialAppIcon-EnumMagic-512.png">
<Pack>True</Pack>
Expand Down
4 changes: 2 additions & 2 deletions tools/docgen-pack.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@echo off

REM This script builds KS documentation and packs the artifacts. Use when you have VS installed.
for /f "tokens=* USEBACKQ" %%f in (`type version`) do set ksversion=%%f
for /f "tokens=*" %%g in ('findstr "<Version>" ..\Directory.Build.props') do (set MIDVER=%%g)
for /f "tokens=1 delims=<" %%a in ("%MIDVER:~9%") do (set ksversion=%%a)

:pack
echo Packing documentation...
Expand All @@ -19,4 +20,3 @@ echo Build and pack successful.
goto :finished

:finished
pause
2 changes: 1 addition & 1 deletion tools/docgen-pack.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# This script builds KS and packs the artifacts. Use when you have MSBuild installed.
ksversion=$(cat version)
ksversion=$(grep "<Version>" ../Directory.Build.props | cut -d "<" -f 2 | cut -d ">" -f 2)

# Check for dependencies
zippath=`which zip`
Expand Down
1 change: 0 additions & 1 deletion tools/version

This file was deleted.

0 comments on commit 2e42e32

Please sign in to comment.