Skip to content

Commit

Permalink
adding readme to the package and other stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
dadhi committed May 23, 2024
1 parent 43c2c58 commit b952e51
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 15 deletions.
4 changes: 2 additions & 2 deletions BuildScripts/NuGetPublish.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set PACKAGES=.dist\packages
set SOURCE=https://api.nuget.org/v3/index.json
set /p APIKEY=<"..\ApiKey.txt"

dotnet nuget push "%PACKAGES%\ImTools.dll.4.0.0.nupkg" -k %APIKEY% -s %SOURCE%
dotnet nuget push "%PACKAGES%\ImTools.4.0.0.nupkg" -k %APIKEY% -s %SOURCE%
dotnet nuget push "%PACKAGES%\ImTools.dll.5.0.0-preview-01.nupkg" -k %APIKEY% -s %SOURCE%
dotnet nuget push "%PACKAGES%\ImTools.dll.5.0.0-preview-01.snupkg" -k %APIKEY% -s %SOURCE%

echo:
echo:Publishing completed.
Expand Down
5 changes: 4 additions & 1 deletion nuspecs/ImTools.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
Split from the DryIoc: https://github.com/dadhi/DryIoc
]]>
</description>
<tags>FP Performance Simple Functional Immutable Persistent Map Avl 2-3Tree Self Balanced Tree Dictionary Thread-safe Functional Atomic Ref Algebraic Discriminated Union SumType</tags>
<readme>README.md</readme>
<tags>FP Performance Simple Functional Immutable Persistent Map Avl 2-3Tree Self Balanced Tree Dictionary Thread-safe Functional Atomic Ref</tags>
<releaseNotes>
<![CDATA[
Expand Down Expand Up @@ -62,7 +63,9 @@ but you may expect that some types and methods were renamed, or new overloads we
<files>
<file src="..\LICENSE.txt" />
<file src="..\ImTools.snk" />
<file src="..\README.md" />

<!--todo: @wip update the net40 to net472 and net8.0 -->
<file src="_._" target="lib\net45\" />
<file src="_._" target="lib\netstandard2.0\" />

Expand Down
27 changes: 16 additions & 11 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,35 +8,40 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageProjectUrl>https://github.com/dadhi/ImTools</PackageProjectUrl>
<!-- <PackageIconUrl>https://github.com/dadhi/ImTools/blob/master/logo/logo128.png</PackageIconUrl> -->
<RepositoryUrl>https://github.com/dadhi/ImTools.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>

<!--Signing all packages, oh boy-->
<PropertyGroup Condition=" '$(Sign)' != 'false' ">
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\ImTools.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DelaySign>false</DelaySign>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<GenerateDocumentationFile>true</GenerateDocumentationFile>

<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageOutputPath>..\..\.dist\packages</PackageOutputPath>

<DebugType>embedded</DebugType>
<!-- <DebugSymbols>true</DebugSymbols> -->
<IncludeSymbols>false</IncludeSymbols>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

<PackageReadmeFile>README.md</PackageReadmeFile>
<!-- <PackageIcon>LOGO.png</PackageIcon> -->

</PropertyGroup>

<ItemGroup>
<None Include="..\..\LICENSE.txt" Pack="true" PackagePath="LICENSE.txt" Visible="false" />
<None Include="..\..\ImTools.snk" Pack="true" PackagePath="ImTools.snk" Visible="false" />
<None Include="..\..\LICENSE.txt" Pack="true" PackagePath="" Visible="false" />
<None Include="..\..\ImTools.snk" Pack="true" PackagePath="" Visible="false" />
<None Include="..\..\README.md" Pack="true" PackagePath="" Visible="false" />
<!-- <None Include="..\..\LOGO.png" Pack="true" PackagePath="" Visible="false" /> -->
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/ImTools/ImTools.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Split from the DryIoc: https://github.com/dadhi/DryIoc
]]>
</Description>
<PackageTags>FP Performance Simple Functional Immutable Persistent Map Avl 2-3Tree Self Balanced Tree Dictionary Thread-safe Functional Atomic Ref Algebraic Discriminated Union SumType</PackageTags>
<PackageTags>FP Performance Simple Functional Immutable Persistent Map Avl 2-3Tree Self Balanced Tree Dictionary Thread-safe Functional Atomic Ref</PackageTags>
<PackageReleaseNotes>
<![CDATA[
## v5.0.0 Major release
Expand Down

0 comments on commit b952e51

Please sign in to comment.