Skip to content

Commit 029c04a

Browse files
committed
changed script to pre-start for a bosh addon
1 parent a7634e9 commit 029c04a

File tree

9 files changed

+35
-184
lines changed

9 files changed

+35
-184
lines changed
+4-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
---
22
name: windows-netframework-dev-tools
33

4-
templates: {}
5-
6-
packages:
7-
- windows-netframework-dev-tools
8-
- unzip
9-
- git
4+
templates:
5+
pre-start.ps1: bin/pre-start.ps1
6+
7+
packages:[]
108

119
properties: {}
1210

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Set-PSDebug -trace 1 # "set -x"
2+
Set-PSDebug -strict # "set -u"
3+
$ErrorActionPreference = "Stop" # "set -e"
4+
5+
# avoid overly narrow default linewrap
6+
$term = (get-host).ui.rawui
7+
$size = $term.buffersize
8+
$size.width = 128
9+
$term.buffersize = $size
10+
$size = $term.windowsize
11+
$size.width = 128
12+
$term.windowsize = $size
13+
14+
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
15+
16+
Set-ExecutionPolicy Bypass -Scope Process -Force
17+
Invoke-WebRequest https://chocolatey.org/install.ps1 -UseBasicParsing | Invoke-Expression
18+
19+
$env:Path +=";%ALLUSERSPROFILE%\chocolatey\bin"
20+
21+
choco install powershell-packagemanagement -y
22+
choco install visualstudio2017community -y
23+
choco install visualstudio2017-workload-netcoretools -y
24+
choco install visualstudio2017-workload-netweb -y
25+
choco install visualstudio2017-workload-node -y
26+
choco install visualstudio2017-workload-azure -y
27+
choco install visualstudio2017-workload-nativedesktop -y
28+
choco install visualstudio2017-workload-manageddesktop -y
29+
choco install nodejs.install -y
30+
choco install cloudfoundry-cli -y
31+
choco install nuget.commandline -y

packages/git/packaging

-14
This file was deleted.

packages/git/spec

-8
This file was deleted.

packages/unzip/packaging

-70
This file was deleted.

packages/unzip/spec

-71
This file was deleted.

packages/windows-netframework-dev-tools/packaging

-7
This file was deleted.

packages/windows-netframework-dev-tools/spec

-8
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)