Skip to content

Commit ffd5cb0

Browse files
committed
fixing ci and cleaning up
1 parent 909793f commit ffd5cb0

File tree

9 files changed

+1138
-1104
lines changed

9 files changed

+1138
-1104
lines changed

build_with_packaging.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ echo:## Starting: RESTORE and BUILD...
55
echo:
66

77
dotnet clean -v:m
8-
dotnet build -c:Release -v:m
8+
dotnet build -c:Release -p:DevMode=false -v:m
99
if %ERRORLEVEL% neq 0 goto :error
1010

1111
echo:
@@ -15,7 +15,7 @@ echo:
1515
echo:## Starting: TESTS...
1616
echo:
1717

18-
dotnet test --no-build -c Release test/ImTools.UnitTests/ImTools.UnitTests.csproj
18+
dotnet test --no-build -c Release -p:DevMode=false test/ImTools.UnitTests/ImTools.UnitTests.csproj
1919
if %ERRORLEVEL% neq 0 goto :error
2020

2121
echo:

nuspecs/ImTools.nuspec

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata minClientVersion="3.3.0">
44
<id>ImTools</id>
5-
<version>4.0.0</version>
5+
<version>5.0.0-preview-01</version>
66
<authors>Maksim Volkau</authors>
77
<copyright>Copyright © 2016-2023 Maksim Volkau</copyright>
88
<projectUrl>https://github.com/dadhi/ImTools</projectUrl>
@@ -17,6 +17,13 @@
1717
<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>
1818
<releaseNotes>
1919
<![CDATA[
20+
21+
## v5.0.0 Major release
22+
23+
- Added SmallMap, SmallList and the friends
24+
- Removed net7.0 target
25+
26+
2027
## v4.0.0 Major release
2128
2229
### Breaking changes

playground/Experiments/Experiments.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFrameworks Condition="'$(DevMode)' == 'true'">net8.0</TargetFrameworks>
5-
<TargetFrameworks Condition="'$(DevMode)' != 'true'">net6.0;net472</TargetFrameworks>
5+
<TargetFrameworks Condition="'$(DevMode)' != 'true'">net8.0;net6.0;net472</TargetFrameworks>
66
<NoWarn>1701;1702;AD0001;NU1608</NoWarn>
77
</PropertyGroup>
88

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,33 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<OutputType>Exe</OutputType>
2+
<PropertyGroup>
3+
<OutputType>Exe</OutputType>
44

5-
<TargetFrameworks Condition="'$(DevMode)' == 'true'">net8.0</TargetFrameworks>
6-
<TargetFrameworks Condition="'$(DevMode)' != 'true'">net6.0</TargetFrameworks>
5+
<TargetFramework>net8.0</TargetFramework>
76

8-
<Platform>x64</Platform>
7+
<Platform>x64</Platform>
98

10-
<Description>Benchmarks and sandbox for experiments.</Description>
11-
<TieredCompilation>false</TieredCompilation>
12-
<!--skip tiering jitting for the fare benchmarks -->
13-
<DebugType>pdbonly</DebugType>
14-
<DebugSymbols>true</DebugSymbols>
15-
16-
<ImplicitUsings>enable</ImplicitUsings>
17-
</PropertyGroup>
18-
<ItemGroup>
19-
<Compile Remove="HashVsImHashMap.cs" />
20-
</ItemGroup>
21-
<ItemGroup>
22-
<PackageReference Include="BenchmarkDotNet" Version="0.13.12" />
23-
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.13.12" />
24-
<PackageReference Include="Microsoft.Experimental.Collections" Version="1.0.6-e190117-3" />
25-
<PackageReference Include="CommunityToolkit.HighPerformance" Version="8.2.2" />
26-
<PackageReference Include="DotNext.IO" Version="5.4.0" />
27-
</ItemGroup>
9+
<Description>Benchmarks and sandbox for experiments.</Description>
10+
<TieredCompilation>false</TieredCompilation>
11+
<!--skip tiering jitting for the fare benchmarks -->
12+
<DebugType>pdbonly</DebugType>
13+
<DebugSymbols>true</DebugSymbols>
2814

29-
<ItemGroup>
30-
<ProjectReference Include="..\..\src\ImTools\ImTools.csproj" />
31-
<ProjectReference Include="..\..\playground\Experiments\Experiments.csproj" />
32-
</ItemGroup>
15+
<ImplicitUsings>enable</ImplicitUsings>
16+
</PropertyGroup>
17+
<ItemGroup>
18+
<Compile Remove="HashVsImHashMap.cs" />
19+
</ItemGroup>
20+
<ItemGroup>
21+
<PackageReference Include="BenchmarkDotNet" Version="0.13.12" />
22+
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.13.12" />
23+
<PackageReference Include="Microsoft.Experimental.Collections" Version="1.0.6-e190117-3" />
24+
<PackageReference Include="CommunityToolkit.HighPerformance" Version="8.2.2" />
25+
<PackageReference Include="DotNext.IO" Version="5.4.0" />
26+
</ItemGroup>
27+
28+
<ItemGroup>
29+
<ProjectReference Include="..\..\src\ImTools\ImTools.csproj" />
30+
<ProjectReference Include="..\..\playground\Experiments\Experiments.csproj" />
31+
</ItemGroup>
3332

3433
</Project>

src/ImTools/ImTools.csproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks Condition="'$(DevMode)' == 'true'">net8.0;net6.0</TargetFrameworks>
4-
<TargetFrameworks Condition="'$(DevMode)' != 'true'">net6.0;net45;netstandard2.0</TargetFrameworks>
4+
<TargetFrameworks Condition="'$(DevMode)' != 'true'">net8.0;net6.0;net45;netstandard2.0</TargetFrameworks>
55

66
<Product>ImTools</Product>
77
<VersionPrefix>5.0.0</VersionPrefix>
@@ -21,6 +21,11 @@
2121
<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>
2222
<PackageReleaseNotes>
2323
<![CDATA[
24+
## v5.0.0 Major release
25+
26+
- Added SmallMap, SmallList and the friends
27+
- Removed net7.0 target
28+
2429
2530
## v4.0.0 Major release
2631

0 commit comments

Comments
 (0)