File tree 8 files changed +11
-55
lines changed
tests/Equinox.Cosmos.Integration
8 files changed +11
-55
lines changed Original file line number Diff line number Diff line change 24
24
<Exec Command =" dotnet pack src/Equinox.SqlStreamStore.MySql $(Cfg) $(PackOptions)" />
25
25
<Exec Command =" dotnet pack src/Equinox.SqlStreamStore.Postgres $(Cfg) $(PackOptions)" />
26
26
<Exec Command =" dotnet pack tools/Equinox.Tools.TestHarness $(Cfg) $(PackOptions)" />
27
- <Exec Command =' dotnet publish tools/Equinox.Tool $(Cfg) -f net461 -o "$(ThisDirAbsolute)/bin/equinox-tool/net461" ' />
28
27
<Exec Command =" dotnet pack tools/Equinox.Tool $(Cfg) $(PackOptions) /p:PackAsTool=true" />
29
28
</Target >
30
29
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >netstandard2.0;net461 </TargetFrameworks >
4
+ <TargetFrameworks >netstandard2.1 </TargetFrameworks >
5
5
<WarningLevel >5</WarningLevel >
6
6
<IsTestProject >false</IsTestProject >
7
7
<DisableImplicitFSharpCoreReference >true</DisableImplicitFSharpCoreReference >
31
31
<PackageReference Include =" Argu" Version =" 6.0.0" />
32
32
<!-- Note .NetCore sufficed package is not an officially suported package and is not longer needed-->
33
33
<PackageReference Include =" Destructurama.FSharp" Version =" 1.1.1-dev-00033" />
34
- <!-- Handle TypeShape-restriction; would otherwise use 3.1.2.5 for net461 -->
35
- <!-- Handle Destructurama.FSharp-restriction; would otherwise use 4.0.0.1 for net461 -->
36
34
<PackageReference Include =" FSharp.Core" Version =" 4.3.4" />
37
35
<PackageReference Include =" Microsoft.Extensions.DependencyInjection" Version =" 2.1.1" />
38
36
<PackageReference Include =" Serilog.Sinks.Console" Version =" 3.1.1" />
39
37
<PackageReference Include =" Serilog.Sinks.Seq" Version =" 4.0.0" />
40
38
<PackageReference Include =" Microsoft.Azure.Cosmos.Direct" Version =" 3.1.4" />
41
- <Reference Include =" System.Runtime.Caching" Condition =" '$(TargetFramework)' != 'netstandard2.0' " />
42
39
</ItemGroup >
43
40
44
41
</Project >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >$(TestTargetFrameworks) </TargetFrameworks >
4
+ <TargetFrameworks >netcoreapp3.1 </TargetFrameworks >
5
5
<IsPackable >false</IsPackable >
6
6
<WarningLevel >5</WarningLevel >
7
7
<DisableImplicitSystemValueTupleReference >true</DisableImplicitSystemValueTupleReference >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >netstandard2.0;net461 </TargetFrameworks >
4
+ <TargetFrameworks >netstandard2.1 </TargetFrameworks >
5
5
<WarningLevel >5</WarningLevel >
6
6
<CopyLocalLockFileAssemblies >true</CopyLocalLockFileAssemblies >
7
7
<DisableImplicitFSharpCoreReference >true</DisableImplicitFSharpCoreReference >
31
31
</ItemGroup >
32
32
33
33
<ItemGroup >
34
- <PackageReference Include =" FSharp.Core" Version =" 3.1.2.5" Condition =" '$(TargetFramework)' == 'net461' " />
35
- <PackageReference Include =" FSharp.Core" Version =" 4.3.4" Condition =" '$(TargetFramework)' == 'netstandard2.0' " />
34
+ <PackageReference Include =" FSharp.Core" Version =" 4.3.4" />
36
35
37
36
<PackageReference Include =" Serilog.Sinks.Console" Version =" 3.1.1" />
38
37
<PackageReference Include =" Serilog.Sinks.Seq" Version =" 4.0.0" />
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ open System.Threading.Tasks
9
9
10
10
type OAttribute = System.Runtime.InteropServices.OptionalAttribute
11
11
type DAttribute = System.Runtime.InteropServices.DefaultParameterValueAttribute
12
-
12
+
13
13
#if NET461
14
14
module Array =
15
15
let tryHead ( array : 'T []) =
@@ -68,28 +68,6 @@ type Async with
68
68
sc ())
69
69
|> ignore)
70
70
71
- #if ! NO_ ASYNCSEQ
72
- module AsyncSeq =
73
- /// Same as takeWhileAsync, but returns the final element too
74
- let takeWhileInclusiveAsync p ( source : AsyncSeq < 'T >) : AsyncSeq < _ > = asyncSeq {
75
- use ie = source.GetEnumerator()
76
- let! move = ie.MoveNext()
77
- let b = ref move
78
- while b.Value.IsSome do
79
- let v = b.Value.Value
80
- yield v
81
- let! res = p v
82
- if res then
83
- let! moven = ie.MoveNext()
84
- b := moven
85
- else
86
- b := None }
87
-
88
- /// Same as takeWhile, but returns the final element too
89
- let takeWhileInclusive p ( source : AsyncSeq < 'T >) =
90
- takeWhileInclusiveAsync ( p >> async.Return) source
91
- #endif
92
-
93
71
[<RequireQualifiedAccess>]
94
72
module Regex =
95
73
open System.Text .RegularExpressions
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >netstandard2.0;net461 </TargetFrameworks >
4
+ <TargetFrameworks >netstandard2.1 </TargetFrameworks >
5
5
<WarningLevel >5</WarningLevel >
6
6
<IsTestProject >false</IsTestProject >
7
7
<DisableImplicitFSharpCoreReference >true</DisableImplicitFSharpCoreReference >
19
19
</ItemGroup >
20
20
21
21
<ItemGroup >
22
+ <PackageReference Include =" Microsoft.Bcl.AsyncInterfaces" Version =" 1.1.0" />
22
23
<PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0" PrivateAssets =" All" />
23
24
<PackageReference Include =" MinVer" Version =" 2.0.0" PrivateAssets =" All" />
24
25
25
- <PackageReference Include =" FSharp.Core" Version =" 3.1.2.5" Condition =" '$(TargetFramework)' != 'netstandard2.0' " />
26
26
<PackageReference Include =" FSharp.Core" Version =" 4.3.4" Condition =" '$(TargetFramework)' == 'netstandard2.0' " />
27
27
28
28
<PackageReference Include =" FsCodec.NewtonsoftJson" Version =" 2.0.0" />
29
29
<PackageReference Include =" FSharp.Control.AsyncSeq" Version =" 2.0.23" />
30
- <PackageReference Include =" Microsoft.Azure.DocumentDB " Version =" 2.2.0 " Condition = " '$(TargetFramework)' != 'netstandard2.0' " />
31
- <PackageReference Include =" Microsoft.Azure.DocumentDB.Core " Version =" 2.2.0 " Condition = " '$(TargetFramework)' == 'netstandard2.0' " />
30
+ <PackageReference Include =" Microsoft.Azure.Cosmos " Version =" 3.1.1 " />
31
+ <PackageReference Include =" System.Runtime.Caching " Version =" 4.5.0 " />
32
32
</ItemGroup >
33
33
34
34
</Project >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >$(TestTargetFrameworks) </TargetFrameworks >
4
+ <TargetFrameworks >netcoreapp3.1 </TargetFrameworks >
5
5
<IsPackable >false</IsPackable >
6
6
<WarningLevel >5</WarningLevel >
7
7
<DisableImplicitSystemValueTupleReference >true</DisableImplicitSystemValueTupleReference >
8
- <DefineConstants Condition =" '$(TargetFramework)' == 'net461' " >NET461</DefineConstants >
9
8
</PropertyGroup >
10
9
11
10
<ItemGroup >
30
29
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.3.0" />
31
30
<PackageReference Include =" Microsoft.Azure.Cosmos.Direct" Version =" 3.1.4" />
32
31
<PackageReference Include =" Serilog.Sinks.Seq" Version =" 4.0.0" />
33
- <Reference Include =" System.Runtime.Caching" Condition =" '$(TargetFramework)' != 'netstandard2.0'" />
34
32
<PackageReference Include =" unquote" Version =" 4.0" />
35
33
<PackageReference Include =" xunit" Version =" 2.4.1" />
36
34
<PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.1" />
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >netcoreapp3.1;net461 </TargetFrameworks >
4
+ <TargetFrameworks >netcoreapp3.1</TargetFrameworks >
5
5
<OutputType >Exe</OutputType >
6
6
<AutoGenerateBindingRedirects >true</AutoGenerateBindingRedirects >
7
7
<WarningLevel >5</WarningLevel >
8
8
<IsTestProject >false</IsTestProject >
9
9
<DisableImplicitFSharpCoreReference >true</DisableImplicitFSharpCoreReference >
10
10
<DisableImplicitSystemValueTupleReference >true</DisableImplicitSystemValueTupleReference >
11
- <DefineConstants Condition =" '$(TargetFramework)' == 'net461' " >$(DefineConstants);NET461</DefineConstants >
12
11
13
12
<PackageId >Equinox.Tool</PackageId >
14
13
<AssemblyName >eqx</AssemblyName >
45
44
<PackageReference Include =" Serilog.Sinks.Seq" Version =" 4.0.0" />
46
45
</ItemGroup >
47
46
48
- <!-- bundle the net461 exe inside the .net core tool package -->
49
- <PropertyGroup Condition =" '$(PackAsTool)' == 'true' " >
50
- <TargetFrameworks ></TargetFrameworks >
51
- <TargetFramework >netcoreapp3.1</TargetFramework >
52
- </PropertyGroup >
53
-
54
- <ItemGroup Condition =" '$(PackAsTool)' == 'true' " >
55
- <Content Include =" $(ThisDirAbsolute)/bin/equinox-tool/net461/*" >
56
- <Pack >true</Pack >
57
- <PackagePath >tools\net461\any\%(Filename)%(Extension)</PackagePath >
58
- <Visible >true</Visible >
59
- </Content >
60
- </ItemGroup >
61
-
62
47
<!-- workaround for not being able to make Backend and Domain as inlined in a complete way https://github.com/nuget/home/issues/3891#issuecomment-377319939 -->
63
48
<Target Name =" CopyProjectReferencesToPackage" DependsOnTargets =" ResolveReferences" >
64
49
<ItemGroup >
You can’t perform that action at this time.
0 commit comments