Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .spelling
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ TeamCity
thenewstellw
throttlelimit
toolset
toolchain
TraceSource
Unregister-Event
Unregister-PSSessionConfiguration
Expand Down Expand Up @@ -419,14 +420,6 @@ _script.ps1
_script.ps1.
#endregion

#region demos/Raspberry-Pi/README.md Overrides
- demos/Raspberry-Pi/README.md
2.0.x
2.1.x
Raspbian
toolchain
#endregion

#region demos/rest/README.md Overrides
- demos/rest/README.md
rest.ps1
Expand Down Expand Up @@ -959,6 +952,7 @@ msi
omnisharp-vscode
opencode
pkg
tgz
UserVoice
#endregion

Expand Down
13 changes: 6 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ language: cpp
git:
depth: 1000

os:
- linux
- osx
sudo: required
dist: trusty
osx_image: xcode8.1

matrix:
include:
- os: linux
dist: trusty
sudo: required
- os: osx
osx_image: xcode8.1
fast_finish: true

addons:
Expand Down
17 changes: 16 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,20 @@

"[powershell]": {
"files.trimTrailingWhitespace": true
}
},

// Sets the codeformatting options to follow the given indent style in a way that is compatible with PowerShell syntax. For more information about the brace styles please refer to https://github.com/PoshCode/PowerShellPracticeAndStyle/issues/81.
"powershell.codeFormatting.preset": "OTBS",

// Adds a space between a keyword and its associated scriptblock expression.
"powershell.codeFormatting.whitespaceBeforeOpenBrace": true,

// Adds a space between a keyword (if, elseif, while, switch, etc) and its associated conditional expression.
"powershell.codeFormatting.whitespaceBeforeOpenParen": true,

// Adds spaces before and after an operator ('=', '+', '-', etc.).
"powershell.codeFormatting.whitespaceAroundOperator": true,

// Adds a space after a separator (',' and ';').
"powershell.codeFormatting.whitespaceAfterSeparator": true
}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ You can download and install a PowerShell package for any of the following platf
| macOS 10.12 | [.pkg][rl-macos] | [Instructions][in-macos] |
| Docker | | [Instructions][in-docker] |
| Kali Linux | [.deb][rl-ubuntu16] | [Instructions][in-kali] |
| Raspbian (Stretch) | [.tgz][rl-raspbian] | [Instructions][in-raspbian] |

You can also download the PowerShell binary archives for Windows, macOS and Linux.

Expand All @@ -67,6 +68,7 @@ You can also download the PowerShell binary archives for Windows, macOS and Linu
[rl-winx64-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/PowerShell-6.0.0-rc-win-x64.zip
[rl-macos-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc-osx-x64.tar.gz
[rl-linux-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc-linux-x64.tar.gz
[rl-raspbian]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc-linux-arm32.tar.gz

[installation]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation
[in-windows]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/windows.md#msi
Expand All @@ -87,6 +89,7 @@ You can also download the PowerShell binary archives for Windows, macOS and Linu
[in-kali]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#kali
[in-windows-zip]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/windows.md#zip
[in-tar]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#binary-archives
[in-raspbian]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#raspbian

To install a specific version, visit [releases](https://github.com/PowerShell/PowerShell/releases).

Expand Down
2 changes: 1 addition & 1 deletion build.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ Fix steps:
# Handle TypeGen
# .inc file name must be different for Windows and Linux to allow build on Windows and WSL.
$incFileName = "powershell_$($Options.Runtime).inc"
if ($TypeGen -or -not (Test-Path "$PSScriptRoot/TypeCatalogGen/$incFileName")) {
if ($TypeGen -or -not (Test-Path "$PSScriptRoot/src/TypeCatalogGen/$incFileName")) {
log "Run TypeGen (generating CorePsTypeCatalog.cs)"
Start-TypeGen -IncFileName $incFileName
}
Expand Down
86 changes: 0 additions & 86 deletions demos/Raspberry-Pi/README.md

This file was deleted.

29 changes: 29 additions & 0 deletions docs/installation/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,35 @@ chmod a+x powershell-6.0.0-rc-x86_64.AppImage
dpkg -r powershell_6.0.0-rc-1.ubuntu.16.04_amd64.deb
```

## Raspbian

Currently, PowerShell is only supported on Raspbian Stretch.

### Installation

```sh
# Install prerequisites
sudo apt-get install libunwind8

# Grab the latest tar.gz
wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc-linux-arm32.tar.gz

# Make folder to put powershell
mkdir ~/powershell

# Unpack the tar.gz file
tar -xvf ./powershell-6.0.0-rc-linux-arm32.tar.gz -C ~/powershell

# Start PowerShell
~/powershell/pwsh
```

### Uninstallation - Raspbian

```sh
rm -rf ~/powershell
```

## Binary Archives

PowerShell binary `tar.gz` archives are provided for macOS and Linux platforms to enable advanced deployment scenarios.
Expand Down
Loading