Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions fcs/download-paket.ps1
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
$paketurl="https://github.com/fsprojects/Paket/releases/download/5.201.1/paket.exe"
$paketurl="https://github.com/fsprojects/Paket/releases/download/5.210.1/paket.exe"
$paketdir = Join-Path $PSScriptRoot ".paket"
$paketpath = Join-Path $paketdir "paket.exe"

# Enable TLS 1.2 and TLS 1.1 as Security Protocols
[Net.ServicePointManager]::SecurityProtocol = `
[Net.SecurityProtocolType]::Tls12,
[Net.SecurityProtocolType]::Tls11;

if (-not (Test-Path "$paketpath")) {
mkdir "$paketdir"
if (-not (Test-Path "$paketdir")) {
Comment thread
cartermp marked this conversation as resolved.
mkdir "$paketdir"
}
Invoke-WebRequest -Uri $paketurl -OutFile "$paketpath"
}
6 changes: 4 additions & 2 deletions fcs/download-paket.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ while [[ -h "$source" ]]; do
done
scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"

paketurl=https://github.com/fsprojects/Paket/releases/download/5.201.1/paket.exe
paketurl=https://github.com/fsprojects/Paket/releases/download/5.210.1/paket.exe
paketdir=$scriptroot/.paket
paketpath=$paketdir/paket.exe
if [ ! -e "$paketpath" ]; then
mkdir "$paketdir"
if [ ! -e "$paketdir" ]; then
mkdir "$paketdir"
fi
curl -o "$paketpath" -L $paketurl
fi
2 changes: 1 addition & 1 deletion fcs/paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ framework: net461

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

nuget FAKE 4.64.6
nuget FAKE 5.8.4
nuget FSharp.Formatting
23 changes: 16 additions & 7 deletions fcs/paket.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
RESTRICTION: == net461
NUGET
remote: https://www.nuget.org/api/v2
FAKE (4.64.6)
FSharp.Compiler.Service (2.0.0.6)
FSharp.Formatting (2.14.4)
FSharp.Compiler.Service (2.0.0.6)
FSharpVSPowerTools.Core (>= 2.3 < 2.4)
FSharpVSPowerTools.Core (2.3)
FSharp.Compiler.Service (>= 2.0.0.3)
FAKE (5.8.4)
FSharp.Compiler.Service (27.0.1)
FSharp.Core (>= 4.5.2)
System.Collections.Immutable (>= 1.5)
System.Reflection.Metadata (>= 1.6)
System.ValueTuple (>= 4.4)
FSharp.Core (4.6.2)
FSharp.Formatting (3.1)
FSharp.Compiler.Service (>= 27.0.1 < 28.0)
Microsoft.AspNet.Razor (>= 3.2.7 < 4.0)
System.ValueTuple (>= 4.5 < 5.0)
Microsoft.AspNet.Razor (3.2.7)
System.Collections.Immutable (1.5)
System.Reflection.Metadata (1.6)
System.Collections.Immutable (>= 1.5)
System.ValueTuple (4.5)