Skip to content

Commit 821f164

Browse files
Bump to net8 and drop net45, fable3, netstandard (#604)
Co-authored-by: Oskar Gewalli <wallymathieu@users.noreply.github.com> Co-authored-by: cannorin <cannorin@users.noreply.github.com>
1 parent 2622c03 commit 821f164

File tree

155 files changed

+271
-365
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+271
-365
lines changed

.github/workflows/fable.yml

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -8,44 +8,6 @@ on:
88

99

1010
jobs:
11-
testfable3:
12-
runs-on: ubuntu-latest
13-
14-
steps:
15-
- uses: actions/checkout@v2
16-
- name: Restore
17-
run: git submodule update --init --recursive
18-
- name: Remove global json
19-
run: rm global.json
20-
- name: Set target framework to net6 instead of net8
21-
uses: Mudlet/xmlstarlet-action@master
22-
with:
23-
args: edit --inplace --update "/Project/PropertyGroup/TargetFrameworks" --value "netstandard2.0;netstandard2.1;net6.0" ./src/FSharpPlus/FSharpPlus.fsproj
24-
- name: Setup .NET Core
25-
uses: actions/setup-dotnet@v3
26-
with:
27-
dotnet-version: |
28-
8.0.x
29-
7.0.x
30-
6.0.x
31-
- name: Restore tools
32-
run: dotnet tool restore
33-
- name: Create global.json
34-
working-directory: tests/FSharpPlusFable.Tests
35-
run: mv fable3-global.json global.json
36-
- name: Install fable
37-
run: dotnet tool install --global Fable --version 3.7.22
38-
- name: Use Node.js
39-
uses: actions/setup-node@v1
40-
with:
41-
node-version: '12.x'
42-
- name: Install npm dependencies
43-
working-directory: tests/FSharpPlusFable.Tests
44-
run: npm install
45-
- name: Run Fable tests
46-
working-directory: tests/FSharpPlusFable.Tests
47-
run: fable . --outDir bin --runScript ./bin
48-
4911
testfable4:
5012
runs-on: ubuntu-latest
5113

@@ -81,30 +43,3 @@ jobs:
8143
working-directory: tests/FSharpPlusFable.Tests
8244
run: fable . --outDir bin --runScript ./bin
8345

84-
testFable3SubsetOnCore:
85-
runs-on: ubuntu-latest
86-
87-
steps:
88-
- uses: actions/checkout@v2
89-
- name: Restore
90-
run: git submodule update --init --recursive
91-
- name: Remove global json
92-
run: rm global.json
93-
- name: Setup .NET Core
94-
uses: actions/setup-dotnet@v3
95-
with:
96-
dotnet-version: |
97-
8.0.x
98-
7.0.x
99-
6.0.x
100-
- name: Restore tools
101-
run: dotnet tool restore
102-
# - name: Run tests (Fable2 subset but on .net)
103-
# working-directory: tests/FSharpPlusFable.Tests
104-
# run: dotnet run -c Fable
105-
- name: Run tests (Fable3 subset but on .net)
106-
working-directory: tests/FSharpPlusFable.Tests
107-
run: dotnet run -c Fable3
108-
- name: Run tests (Full subset for of tests .net)
109-
working-directory: tests/FSharpPlusFable.Tests
110-
run: dotnet run -c Release

docsrc/content/abstraction-alternative.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll"
4+
#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll"
55

66
(**
77
Alternative

docsrc/content/abstraction-applicative.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll"
4+
#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll"
55

66
(**
77
Applicative

docsrc/content/abstraction-bifoldable.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Examples
9494
--------
9595
*)
9696

97-
#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll"
97+
#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll"
9898

9999
open FSharpPlus
100100
open FSharpPlus.Control

docsrc/content/abstraction-bifunctor.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
44

5-
#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll"
5+
#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll"
66
(**
77
Bifunctor
88
=======

docsrc/content/abstraction-bitraversable.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll"
4+
#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll"
55

66
(**
77
Bitraversable

docsrc/content/abstraction-comonad.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll"
4+
#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll"
55

66
(**
77
Comonad

docsrc/content/abstraction-contravariant.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll"
4+
#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll"
55

66
(**
77
Contravariant

docsrc/content/abstraction-foldable.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Examples
8181

8282

8383

84-
#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll"
84+
#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll"
8585

8686
open FSharpPlus
8787
open FSharpPlus.Data

docsrc/content/abstraction-functor.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll"
4+
#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll"
55

66
(**
77
Functor

0 commit comments

Comments
 (0)