- Now checks that previous Start-PSBuild was with -Publish - Uses $script:Output automatically - Uses /opt/microsoft/powershell on Linux per FHS - Uses /usr/local/microsoft/powershell on OS X per FHS - Specifies "--rpm-os linux" for RPM packages built elsewhere - Creates symlink on demand for packaging - Puts symlink in /usr/(local)/bin as it is expected to be in PATH - Uses $Arguments array for better syntax - Resolves #800 Note that if the target of the powershell symlink exists, `fpm` aborts with a `utime` error on OS X.
PowerShell
This repository is "Project Magrathea": Open PowerShell on GitHub, for Linux, Windows (.NET Core and Full), and OS X. It is built using the .NET Command Line Interface to support targetting every flavor of PowerShell. It is a collaborative effort among many teams:
- Full PowerShell
- Core PowerShell
- Open Source Technology Center
- .NET Foundation
Build Status
| Platform | master |
|---|---|
| Ubuntu 14.04 | |
| Windows |
Get PowerShell
| Linux | Windows .NET Core | Windows .NET Full | OS X | PSRP | |
|---|---|---|---|---|---|
| Build from Source | Instructions | Instructions | Instructions | Instructions | Instructions |
| Get Binaries | Releases | Artifacts | Artifacts | Releases | TBD |
Building summary: Start-PSBuild from the module
./PowerShellGitHubDev.psm1 (self-host on Linux / OS X)
See Linux releases and Windows artifacts installation instructions.
Team coordination
If you encounter any problems, see the known issues, search the issues, and if all else fails, open a new issue.
Obtain the source code
Setup Git
Install Git, the version control system.
See the Contributing Guidelines for more Git information, such as our installation instructions, contributing rules, and Git best practices.
Download source code
Clone this repository. It is a "superproject" and has a number of other repositories embedded within it as submodules. Please see the contributing guidelines and learn about submodules. Not every submodule is required on every system; see the individual build instructions for the necessary subsets.