From ebe14081fece6d2b2768b067e4da4cefdfd6a049 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki-Chudyk?= Date: Sat, 30 Jul 2016 11:12:05 +0200 Subject: [PATCH] try to make bootstrap executable remotely --- appveyor.yml | 2 +- windows_cygwin/README.md | 5 +++-- windows_cygwin/bootstrap.bat | 4 ---- windows_cygwin/bootstrap.ps1 | 3 +++ 4 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 windows_cygwin/bootstrap.bat create mode 100644 windows_cygwin/bootstrap.ps1 diff --git a/appveyor.yml b/appveyor.yml index 8d000890..6800ec75 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,2 +1,2 @@ -install: windows_cygwin\bootstrap.bat +install: windows_cygwin\bootstrap.ps1 build_script: windows_cygwin\build.bat diff --git a/windows_cygwin/README.md b/windows_cygwin/README.md index f94dfc59..818bb7e2 100644 --- a/windows_cygwin/README.md +++ b/windows_cygwin/README.md @@ -1,3 +1,4 @@ -Bootstrap from cmd.exe: +Bootstrap from cmd.exe running as Administrator: - + bootstrap.bat + ssh-keygen -b 8192 diff --git a/windows_cygwin/bootstrap.bat b/windows_cygwin/bootstrap.bat deleted file mode 100644 index fb41e542..00000000 --- a/windows_cygwin/bootstrap.bat +++ /dev/null @@ -1,4 +0,0 @@ -echo on -@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin -choco install -y git win32-openssh - diff --git a/windows_cygwin/bootstrap.ps1 b/windows_cygwin/bootstrap.ps1 new file mode 100644 index 00000000..dbec7a91 --- /dev/null +++ b/windows_cygwin/bootstrap.ps1 @@ -0,0 +1,3 @@ +iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex +choco install -y git win32-openssh +