Skip to content

Commit a12b7b7

Browse files
committed
Merge pull request #73 from aholmes/build-cmd
Update build.cmd to avoid usage of curl, and to instead shell out to …
2 parents baf84a4 + b4125f7 commit a12b7b7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build.cmd

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
@echo off
22
cls
33

4-
if not exist .paket (
4+
if not exist .paket mkdir .paket
5+
6+
if not exist .paket/paket.bootstrapper.exe (
57
@echo "Installing Paket"
6-
mkdir .paket
7-
curl https://github.com/fsprojects/Paket/releases/download/2.12.5/paket.bootstrapper.exe -L --insecure -o .paket\paket.bootstrapper.exe
8+
Powershell.exe -Command "Invoke-WebRequest -Uri https://github.com/fsprojects/Paket/releases/download/2.12.5/paket.bootstrapper.exe -OutFile .paket\paket.bootstrapper.exe"
9+
810

911
.paket\paket.bootstrapper.exe prerelease
1012
if errorlevel 1 (

0 commit comments

Comments
 (0)