Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
small cleanups to appveyor
[simgrid.git] / .appveyor-download.cmd
diff --git a/.appveyor-download.cmd b/.appveyor-download.cmd
deleted file mode 100644 (file)
index ea7c3fd..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-rem This file is https://raw.githubusercontent.com/symengine/symengine/master/bin/appveyor-download.cmd
-rem Try to download a given file, with at most maxRetries attempts 
-rem This is useful because AppVeyor suffers of many transient network error
-
-@echo off
-rem initiate the retry number
-set retryNumber=0
-set maxRetries=6
-set time=0
-
-:DOWNLOAD
-timeout %time% > NUL
-set /a time=2*%time%+1
-appveyor DownloadFile %*
-
-rem problem?
-IF NOT ERRORLEVEL 1 GOTO :EOF
-@echo Oops, appveyor download exited with code %ERRORLEVEL% - let us try again!
-set /a retryNumber=%retryNumber%+1
-IF %reTryNumber% LSS %maxRetries% (GOTO :DOWNLOAD)
-@echo Sorry, we tried downloading the package for %maxRetries% times and all attempts were unsuccessful!
-EXIT /B 1
\ No newline at end of file