mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Add build instructions matrix to readme
This commit is contained in:
@@ -1,6 +1,18 @@
|
||||
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][dotnet-cli] 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
|
||||
|
||||
[dotnet-cli]: https://github.com/dotnet/cli
|
||||
|
||||
Build Status
|
||||
------------
|
||||
|
||||
@@ -9,12 +21,31 @@ Build Status
|
||||
| Ubuntu 14.04 | [](https://travis-ci.com/PowerShell/PowerShell) |
|
||||
| Windows | [](https://ci.appveyor.com/project/PowerShell/powershell-linux/branch/master) |
|
||||
|
||||
Get PowerShell
|
||||
--------------
|
||||
|
||||
| | Linux | Windows .NET Core | Windows .NET Full | OS X |
|
||||
|-----------------------|-------|-------------------|-------------------|------|
|
||||
| Build from **Source** | [Instructions](docs/building/linux.md) | [Instructions](docs/building/windows-core.md) | [Instructions](docs/building/windows-full.md) | [Instructions](docs/building/osx.md) |
|
||||
| Get **Binaries** | [Releases][] | [Artifacts][] | [Artifacts][] | [Releases][] |
|
||||
|
||||
Building summary: `Start-PSBuild` from the module
|
||||
`./PowerShellGitHubDev.psm1` (self-host on Linux / OS X)
|
||||
|
||||
[releases]: https://github.com/PowerShell/PowerShell/releases
|
||||
[artifacts]: https://ci.appveyor.com/project/PowerShell/powershell-linux/build/artifacts
|
||||
|
||||
Team coordination
|
||||
-----------------
|
||||
|
||||
- [PSCore Slack chat](https://pscore.slack.com/)
|
||||
- [Waffle.io scrum board](https://waffle.io/PowerShell/PowerShell)
|
||||
|
||||
If you encounter any problems, see the [known issues](KNOWNISSUES.md),
|
||||
search the [issues][], and if all else fails, open a new issue.
|
||||
|
||||
[issues]: https://github.com/PowerShell/PowerShell/issues
|
||||
|
||||
## Obtain the source code
|
||||
|
||||
### Setup Git
|
||||
@@ -31,27 +62,9 @@ rules, and Git best practices.
|
||||
|
||||
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.
|
||||
|
||||
```sh
|
||||
git clone https://github.com/PowerShell/PowerShell.git
|
||||
cd PowerShell
|
||||
```
|
||||
|
||||
## Building
|
||||
|
||||
**The command `dotnet restore` must be done at least once from the top directory
|
||||
to obtain all the necessary .NET packages.**
|
||||
|
||||
`Start-PSBuild` from module `./PowerShellGitHubDev.psm1` on Windows
|
||||
and Linux / OS X, if you are self-hosting PowerShell.
|
||||
|
||||
**Tip:** use `Start-PSBuild -Verbose` switch to see more information
|
||||
about build process.
|
||||
|
||||
If you encounter any problems, see the [known issues](KNOWNISSUES.md),
|
||||
otherwise open a new issue on GitHub.
|
||||
|
||||
contributing guidelines and learn about submodules. Not every
|
||||
submodule is required on every system; see the individual build
|
||||
instructions for the necessary subsets.
|
||||
|
||||
## Debugging
|
||||
|
||||
|
||||
Reference in New Issue
Block a user