Update install/build scripts and dockerfiles (#5222)

This commit is contained in:
Dongbo Wang 2017-10-25 08:25:35 -07:00 committed by Aditya Patwardhan
parent 44f0296f85
commit bfce69ed83
9 changed files with 11 additions and 11 deletions

View file

@ -35,10 +35,10 @@ install:
npm install -g markdown-spellcheck@0.11.0;
fi
- ulimit -n 4096
- powershell -File tools/travis.ps1 -Bootstrap
- pwsh -File tools/travis.ps1 -Bootstrap
script:
- powershell -File tools/travis.ps1
- pwsh -File tools/travis.ps1
# spellcheck
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
mdspell '**/*.md' '!powershell/**/*.md' --ignore-numbers --ignore-acronyms --report;

View file

@ -18,5 +18,5 @@ Most useful commands are 'clrstack', 'clrthreads', and 'pe'.
EOF
pushd debug
lldb-3.6 -o "plugin load libsosplugin.so" -- ./powershell $@
lldb-3.6 -o "plugin load libsosplugin.so" -- ./pwsh $@
popd

View file

@ -132,7 +132,7 @@ $SUDO apt-get update
# Install PowerShell
$SUDO apt-get install -y powershell
powershell -noprofile -c '"Congratulations! PowerShell is installed at $PSHOME"'
pwsh -noprofile -c '"Congratulations! PowerShell is installed at $PSHOME"'
success=$?
if [[ "$success" != 0 ]]; then

View file

@ -141,7 +141,7 @@ if [[ ! -d $(brew --prefix cask) ]]; then
fi
fi
if ! hash powershell 2>/dev/null; then
if ! hash pwsh 2>/dev/null; then
echo "Installing PowerShell..."
if ! brew cask install powershell; then
echo "ERROR: PowerShell failed to install! Cannot install powershell..." >&2
@ -165,7 +165,7 @@ if [[ "'$*'" =~ includeide ]] ; then
code --install-extension ms-vscode.PowerShell
fi
powershell -noprofile -c '"Congratulations! PowerShell is installed at $PSHOME"'
pwsh -noprofile -c '"Congratulations! PowerShell is installed at $PSHOME"'
success=$?
if [[ "$success" != 0 ]]; then

View file

@ -129,7 +129,7 @@ echo "*** Setting up PowerShell Core repo..."
$SUDO curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/microsoft.repo
$SUDO yum install -y powershell
powershell -noprofile -c '"Congratulations! PowerShell is installed at $PSHOME"'
pwsh -noprofile -c '"Congratulations! PowerShell is installed at $PSHOME"'
success=$?
if [[ "$success" != 0 ]]; then

View file

@ -24,4 +24,4 @@ RUN yum install -y \
COPY PowerShellPackage.ps1 /
# Use PowerShell as the default shell
ENTRYPOINT [ "powershell" ]
ENTRYPOINT [ "pwsh" ]

View file

@ -33,4 +33,4 @@ RUN apt-get update \
COPY PowerShellPackage.ps1 /
# Use PowerShell as the default shell
ENTRYPOINT [ "powershell" ]
ENTRYPOINT [ "pwsh" ]

View file

@ -31,4 +31,4 @@ RUN apt-get update \
COPY PowerShellPackage.ps1 /
# Use PowerShell as the default shell
ENTRYPOINT [ "powershell" ]
ENTRYPOINT [ "pwsh" ]

View file

@ -1 +1 @@
powershell -command ".\vstsbuild.ps1 $*"
pwsh -command ".\vstsbuild.ps1 $*"