Apply Choco Best Practices (#77)
* (maint) Corrected whitespace * (GH-15) Apply Choco Best Practices
This commit is contained in:
committed by
Yosef Durr
parent
f59fe23b7c
commit
ee2a2cf65b
@@ -36,12 +36,12 @@ executeScript "WSL.ps1";
|
||||
RefreshEnv
|
||||
executeScript "Docker.ps1";
|
||||
|
||||
choco install powershell-core
|
||||
choco install azure-cli
|
||||
choco install -y powershell-core
|
||||
choco install -y azure-cli
|
||||
Install-Module -Force Az
|
||||
Install-Module -Force posh-git
|
||||
choco install microsoftazurestorageexplorer
|
||||
choco install terraform
|
||||
choco install -y microsoftazurestorageexplorer
|
||||
choco install -y terraform
|
||||
|
||||
# Install tools in WSL instance
|
||||
write-host "Installing tools inside the WSL distro..."
|
||||
@@ -49,8 +49,8 @@ Ubuntu1804 run apt install ansible -y
|
||||
Ubuntu1804 run apt install nodejs -y
|
||||
|
||||
# personalize
|
||||
choco install microsoft-teams
|
||||
choco install office365business
|
||||
choco install -y microsoft-teams
|
||||
choco install -y office365business
|
||||
|
||||
# checkout recent projects
|
||||
mkdir C:\github
|
||||
|
||||
@@ -36,7 +36,7 @@ executeScript "CommonDevTools.ps1";
|
||||
# visualstudio2017professional
|
||||
# visualstudio2017enterprise
|
||||
|
||||
choco install visualstudio2017community -y --package-parameters "--add Microsoft.VisualStudio.Component.Git"
|
||||
choco install -y visualstudio2017community --package-parameters="'--add Microsoft.VisualStudio.Component.Git'"
|
||||
Update-SessionEnvironment #refreshing env due to Git install
|
||||
|
||||
#--- UWP Workload and installing Windows Template Studio ---
|
||||
|
||||
@@ -36,7 +36,7 @@ executeScript "CommonDevTools.ps1";
|
||||
# visualstudio2017professional
|
||||
# visualstudio2017enterprise
|
||||
|
||||
choco install visualstudio2017community -y --package-parameters "--add Microsoft.VisualStudio.Component.Git"
|
||||
choco install -y visualstudio2017community --package-parameters="'--add Microsoft.VisualStudio.Component.Git'"
|
||||
Update-SessionEnvironment #refreshing env due to Git install
|
||||
|
||||
#--- UWP Workload and installing Windows Template Studio ---
|
||||
|
||||
@@ -36,7 +36,7 @@ executeScript "CommonDevTools.ps1";
|
||||
# visualstudio2017professional
|
||||
# visualstudio2017enterprise
|
||||
|
||||
choco install visualstudio2017community -y --package-parameters "--add Microsoft.VisualStudio.Component.Git"
|
||||
choco install -y visualstudio2017community --package-parameters="'--add Microsoft.VisualStudio.Component.Git'"
|
||||
Update-SessionEnvironment #refreshing env due to Git install
|
||||
|
||||
#--- UWP Workload and installing Windows Template Studio ---
|
||||
|
||||
@@ -36,7 +36,7 @@ executeScript "CommonDevTools.ps1";
|
||||
# visualstudio2017professional
|
||||
# visualstudio2017enterprise
|
||||
|
||||
choco install visualstudio2017community -y --package-parameters "--add Microsoft.VisualStudio.Component.Git"
|
||||
choco install -y visualstudio2017community --package-parameters="'--add Microsoft.VisualStudio.Component.Git'"
|
||||
Update-SessionEnvironment #refreshing env due to Git install
|
||||
|
||||
#--- UWP Workload and installing Windows Template Studio ---
|
||||
|
||||
@@ -35,11 +35,11 @@ executeScript "WSL.ps1";
|
||||
RefreshEnv
|
||||
executeScript "Docker.ps1";
|
||||
|
||||
choco install powershell-core
|
||||
choco install azure-cli
|
||||
choco install -y powershell-core
|
||||
choco install -y azure-cli
|
||||
Install-Module -Force Az
|
||||
choco install microsoftazurestorageexplorer
|
||||
choco install terraform
|
||||
choco install -y microsoftazurestorageexplorer
|
||||
choco install -y terraform
|
||||
|
||||
# Install tools in WSL instance
|
||||
write-host "Installing tools inside the WSL distro..."
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'"
|
||||
|
||||
@@ -1 +1 @@
|
||||
choco install -y Microsoft-Hyper-V-All -source windowsFeatures
|
||||
choco install -y Microsoft-Hyper-V-All --source="'windowsFeatures'"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user