Skip to content

Commit 0c4aae8

Browse files
author
Don Syme
committed
merge
2 parents 1267ca6 + d501959 commit 0c4aae8

26 files changed

Lines changed: 517 additions & 725 deletions

.config/dotnet-tools.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33
"isRoot": true,
44
"tools": {
55
"fsharp.formatting.commandtool": {
6-
"version": "6.1.0",
6+
"version": "11.4.1",
77
"commands": [
88
"fsdocs"
99
]
1010
},
1111
"paket": {
12-
"version": "5.247.4",
12+
"version": "6.0.0-rc001",
1313
"commands": [
1414
"paket"
1515
]
1616
},
1717
"fake-cli": {
18-
"version": "5.20.2",
18+
"version": "5.20.4",
1919
"commands": [
2020
"fake"
2121
]
2222
}
2323
}
24-
}
24+
}

.github/workflows/publish.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build and Publish Docs
2+
on:
3+
push:
4+
branches: [ master ]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Setup .NET
11+
uses: actions/setup-dotnet@v1
12+
with:
13+
dotnet-version: '3.1.x'
14+
- name: Setup .NET
15+
uses: actions/setup-dotnet@v1
16+
with:
17+
dotnet-version: '5.0.202'
18+
- name: Install tools
19+
run: dotnet tool restore
20+
- name: Build and Test and Docs using FAKE
21+
run: dotnet fake build
22+
- name: Deploy
23+
uses: peaceiris/actions-gh-pages@v3
24+
with:
25+
personal_token: ${{ secrets.GITHUB_TOKEN }}
26+
publish_dir: ./output
27+
publish_branch: gh-pages
28+
force_orphan: true

.github/workflows/pull-request.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build and Test Pull Request
2+
3+
on:
4+
pull_request:
5+
branches: [ master ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Setup .NET
13+
uses: actions/setup-dotnet@v1
14+
with:
15+
dotnet-version: '3.1.x'
16+
- name: Setup .NET
17+
uses: actions/setup-dotnet@v1
18+
with:
19+
dotnet-version: '5.0.202'
20+
- name: Install tools
21+
run: dotnet tool restore
22+
- name: Build Test and Docs using FAKE
23+
run: dotnet fake build

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ $RECYCLE.BIN/
169169
# NuGet Packages Directory
170170
packages/
171171

172+
# Paket files
173+
.paket/load/
174+
172175
# Generated documentation folder
173176
docs/output/
174177

.travis.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.
File renamed without changes.

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@
88
See [the home page](http://fsprojects.github.io/FSharp.Control.AsyncSeq/) for details. The home page can be [edited, forked or cloned](https://github.com/fsprojects/FSharp.Control.AsyncSeq/tree/master/docs/content)
99
Please contribute to this project. Don't ask for permission, just fork the repository and send pull requests.
1010

11-
Please also join the [F# Open Source Group](http://fsharp.github.com)
12-
1311
# Maintainer(s)
1412

1513
- [@dsyme](https://github.com/dsyme)
16-
- [@tpetricek](https://github.com/tpetricek)
14+
- [@martinmoec](https://github.com/martinmoec)
1715
- [@eulerfx](https://github.com/eulerfx)
1816

1917

RELEASE_NOTES.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
### 3.0.4
2+
* Restore netstandard2.0 (and thereby .NET Framework 4.6.1+) compatibility
3+
* Update build env versions to current recommendations
4+
* Adjust to ensure all tests pass and eliminate warnings in vscode (ionide) and visual studio
5+
16
### 3.0.2
27

3-
* bump version due to bad push
8+
* Include .fsi files into Fable package path [#118](https://github.com/fsprojects/FSharp.Control.AsyncSeq/pull/118)
49

510
### 3.0.1
611

build.fsx

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ let summary = "Asynchronous sequences for F#"
3939

4040
let license = "Apache 2.0 License"
4141

42-
let buildDir = "bin"
43-
4442
// Git configuration (used for publishing documentation in gh-pages branch)
4543
// The profile where the project is posted
4644
let projectRepo = "https://github.com/fsprojects/FSharp.Control.AsyncSeq"
@@ -53,11 +51,20 @@ let artifactsDir = __SOURCE_DIRECTORY__ @@ "artifacts"
5351
// Read additional information from the release notes document
5452
let release = ReleaseNotes.load "RELEASE_NOTES.md"
5553

54+
55+
let versionPropsTemplate = $"\
56+
<Project>
57+
<PropertyGroup>
58+
<Version>%s{release.NugetVersion}</Version>
59+
</PropertyGroup>
60+
</Project>"
61+
5662
// --------------------------------------------------------------------------------------
5763
// Clean build results
5864

5965
Target.create "Clean" (fun _ ->
60-
Shell.cleanDirs ["bin"; "temp"]
66+
DotNet.exec id "clean" "" |> ignore
67+
Shell.cleanDirs ["artifacts"; "temp"]
6168
)
6269

6370
// Generate assembly info files with the right version & up-to-date information
@@ -73,7 +80,6 @@ Target.create "AssemblyInfo" (fun _ ->
7380

7481
AssemblyInfoFile.createFSharp "src/Common/AssemblyInfo.fs" info
7582
AssemblyInfoFile.createCSharp "src/Common/AssemblyInfo.cs" info
76-
let releaseNotes = String.toLines release.Notes |> System.Net.WebUtility.HtmlEncode
7783
File.WriteAllText("version.props", sprintf """<Project>
7884
<PropertyGroup>
7985
<Version>%s</Version>
@@ -107,6 +113,8 @@ Target.create "RunTests" (fun _ ->
107113
// Build a NuGet package
108114

109115
Target.create "NuGet" (fun _ ->
116+
117+
File.WriteAllText("version.props",versionPropsTemplate)
110118
DotNet.pack (fun pack ->
111119
{ pack with
112120
OutputPath = Some artifactsDir
@@ -119,7 +127,7 @@ Target.create "NuGet" (fun _ ->
119127

120128
Target.create "GenerateDocs" (fun _ ->
121129
Shell.cleanDir ".fsdocs"
122-
DotNet.exec id "fsdocs" "build --clean" |> ignore
130+
DotNet.exec id "fsdocs" "build --clean --properties Configuration=Release" |> ignore
123131
)
124132

125133
// --------------------------------------------------------------------------------------
@@ -157,10 +165,14 @@ Target.create "All" ignore
157165
"Clean"
158166
==> "Build"
159167
==> "RunTests"
160-
==> "All"
161168
==> "NuGet"
162-
==> "PublishNuget"
163169
==> "GenerateDocs"
170+
==> "All"
171+
172+
"NuGet" ==> "PublishNuget"
173+
"GenerateDocs" ==> "ReleaseDocs"
174+
175+
"PublishNuget"
164176
==> "ReleaseDocs"
165177
==> "Release"
166178

docs/_template.html

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)