Compare commits

..

1 Commits

Author SHA1 Message Date
354f5e033e Add bootstrap-Windows.cmd
usage: bootstrap-Windows.cmd [/?]

Bootstrap a macOS instance with:

* Windows SDK - from MSDN
* Chocolatey - package manager
* Cmder, including Git - from Chocolatey
* Python - from Chocolatey
* virtualenv - from pip
* SSH key - from ssh-keygen
* GitHub public key - with SSH key
* GitLab public key - with SSH key
* BitBucket Cloud public key - with SSH key
* Gogs Cloud public key - with SSH key
* conduit - configuration manager

optional arguments:
        /?              show this help message and exit
2018-01-05 13:04:18 +00:00

View File

@ -38,7 +38,7 @@ if errorlevel 1 (
:: Install Windows SDK
:windows_sdk
set choice=
set /p choice="Install Windows SDK [Y/n]? "
set /p choice="Install Windows SDK [Y/n]?"
if "%choice%"=="" goto windows_sdk_yes
if "%choice%"=="Y" goto windows_sdk_yes
if "%choice%"=="y" goto windows_sdk_yes
@ -159,21 +159,6 @@ if errorlevel 1 exit /B 1
if errorlevel 1 exit /B 1
:remote_ssh_keys_no
:: Install conduit
:conduit
set choice=
set /p choice="Install conduit [Y/n]? "
if "%choice%"=="" goto conduit_yes
if "%choice%"=="Y" goto conduit_yes
if "%choice%"=="y" goto conduit_yes
if "%choice%"=="N" goto conduit_no
if "%choice%"=="n" goto conduit_no
echo invalid value: %choice%
goto conduit
:conduit_yes
"C:\Python27\Scripts\pip.exe" install git+ssh://git@github.com/kbenzie/conduit.git
:conduit_no
:remove_bootstrap
set choice=
set /p choice="Remove bootstrap-Windows.cmd [y/N]? "