Apply Choco Best Practices (#77)

* (maint) Corrected whitespace

* (GH-15) Apply Choco Best Practices
This commit is contained in:
Gary Ewan Park
2018-10-18 13:08:15 +01:00
committed by Yosef Durr
parent f59fe23b7c
commit ee2a2cf65b
11 changed files with 40 additions and 40 deletions

View File

@@ -1,7 +1,7 @@
# tools we expect devs across many scenarios will want
choco install -y vscode
choco install -y git -params '"/GitAndUnixToolsOnPath /WindowsTerminal"'
choco install -y git --package-parameters="'/GitAndUnixToolsOnPath /WindowsTerminal'"
choco install -y python
choco install -y 7zip.install
choco install -y sysinternals

View File

@@ -1,3 +1,3 @@
# Using vscode as a default IDE
choco install -y vscode
choco install -y git -params '"/GitAndUnixToolsOnPath /WindowsTerminal"'
choco install -y git --package-parameters="'/GitAndUnixToolsOnPath /WindowsTerminal'"

View File

@@ -1 +1 @@
choco install -y Microsoft-Hyper-V-All -source windowsFeatures
choco install -y Microsoft-Hyper-V-All --source="'windowsFeatures'"

View File

@@ -1,5 +1,5 @@
# Install python
choco install python --version 3.5.4 -y
choco install -y python --version=3.5.4
# Refresh path
refreshenv
@@ -16,4 +16,4 @@ pip install tensorflow
pip install keras
# Get Visual Studio C++ Redistributables
choco install vcredist2015
choco install -y vcredist2015

View File

@@ -1,11 +1,11 @@
choco install -y Microsoft-Windows-Subsystem-Linux -source windowsfeatures
choco install -y Microsoft-Windows-Subsystem-Linux --source="'windowsfeatures'"
#--- Ubuntu ---
# TODO: Move this to choco install once --root is included in that package
Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1804 -OutFile ~/Ubuntu.appx -UseBasicParsing
Add-AppxPackage -Path ~/Ubuntu.appx
# run the distro once and have it install locally with root user, unset password
RefreshEnv
Ubuntu1804 install --root
Ubuntu1804 run apt update