Skip to content

Commit a44aa15

Browse files
milbrandtbaronfel
authored andcommitted
Fix build GenerateDocs (#7054)
* if file does not exist but folder an error is reported Signed-off-by: Volker Milbrandt <milbrandt@gmx.de> * `fcs\build GenerateDocs` didn't run for FAKE 4.64.6 didn't do the full migration yet https://fake.build/fake-migrate-to-fake-5.html
1 parent 5085029 commit a44aa15

File tree

4 files changed

+26
-13
lines changed

4 files changed

+26
-13
lines changed

fcs/download-paket.ps1

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
$paketurl="https://github.com/fsprojects/Paket/releases/download/5.201.1/paket.exe"
1+
$paketurl="https://github.com/fsprojects/Paket/releases/download/5.210.1/paket.exe"
22
$paketdir = Join-Path $PSScriptRoot ".paket"
33
$paketpath = Join-Path $paketdir "paket.exe"
44

55
# Enable TLS 1.2 and TLS 1.1 as Security Protocols
66
[Net.ServicePointManager]::SecurityProtocol = `
77
[Net.SecurityProtocolType]::Tls12,
88
[Net.SecurityProtocolType]::Tls11;
9-
9+
1010
if (-not (Test-Path "$paketpath")) {
11-
mkdir "$paketdir"
11+
if (-not (Test-Path "$paketdir")) {
12+
mkdir "$paketdir"
13+
}
1214
Invoke-WebRequest -Uri $paketurl -OutFile "$paketpath"
1315
}

fcs/download-paket.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ while [[ -h "$source" ]]; do
1212
done
1313
scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
1414

15-
paketurl=https://github.com/fsprojects/Paket/releases/download/5.201.1/paket.exe
15+
paketurl=https://github.com/fsprojects/Paket/releases/download/5.210.1/paket.exe
1616
paketdir=$scriptroot/.paket
1717
paketpath=$paketdir/paket.exe
1818
if [ ! -e "$paketpath" ]; then
19-
mkdir "$paketdir"
19+
if [ ! -e "$paketdir" ]; then
20+
mkdir "$paketdir"
21+
fi
2022
curl -o "$paketpath" -L $paketurl
2123
fi

fcs/paket.dependencies

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

33
source https://www.nuget.org/api/v2/
44

5-
nuget FAKE 4.64.6
5+
nuget FAKE 5.8.4
66
nuget FSharp.Formatting

fcs/paket.lock

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
RESTRICTION: == net461
22
NUGET
33
remote: https://www.nuget.org/api/v2
4-
FAKE (4.64.6)
5-
FSharp.Compiler.Service (2.0.0.6)
6-
FSharp.Formatting (2.14.4)
7-
FSharp.Compiler.Service (2.0.0.6)
8-
FSharpVSPowerTools.Core (>= 2.3 < 2.4)
9-
FSharpVSPowerTools.Core (2.3)
10-
FSharp.Compiler.Service (>= 2.0.0.3)
4+
FAKE (5.8.4)
5+
FSharp.Compiler.Service (27.0.1)
6+
FSharp.Core (>= 4.5.2)
7+
System.Collections.Immutable (>= 1.5)
8+
System.Reflection.Metadata (>= 1.6)
9+
System.ValueTuple (>= 4.4)
10+
FSharp.Core (4.6.2)
11+
FSharp.Formatting (3.1)
12+
FSharp.Compiler.Service (>= 27.0.1 < 28.0)
13+
Microsoft.AspNet.Razor (>= 3.2.7 < 4.0)
14+
System.ValueTuple (>= 4.5 < 5.0)
15+
Microsoft.AspNet.Razor (3.2.7)
16+
System.Collections.Immutable (1.5)
17+
System.Reflection.Metadata (1.6)
18+
System.Collections.Immutable (>= 1.5)
19+
System.ValueTuple (4.5)

0 commit comments

Comments
 (0)