Commit 784bb30300eadfa47c9d5632f9b1a111e36bcbbd

Edward Thomson 2016-05-26T10:28:00

Merge pull request #3799 from sschuberth/master Use AppVeyor's Start-FileDownload cmdlet

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/appveyor.yml b/appveyor.yml
index 4f51aa8..9e94c07 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -33,7 +33,7 @@ build_script:
 test_script:
 - ps: |
     $ErrorActionPreference="Stop"
-    Invoke-WebRequest https://github.com/ethomson/poxyproxy/releases/download/v0.1.0/poxyproxy-0.1.0.jar -OutFile poxyproxy.jar
+    Start-FileDownload https://github.com/ethomson/poxyproxy/releases/download/v0.1.0/poxyproxy-0.1.0.jar -FileName poxyproxy.jar
     # Run this early so we know it's ready by the time we need it
     $proxyJob = Start-Job { java -jar $Env:APPVEYOR_BUILD_FOLDER\build\poxyproxy.jar -d --port 8080 --credentials foo:bar }
     ctest -V -R libgit2_clar