Compare commits

..

1 Commits

Author SHA1 Message Date
41b3898d58 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:13:21 +00:00

View File

@ -159,6 +159,21 @@ 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]? "