Go to file
Andrew Schwartzmeyer ea5d5c3d05 Switch to netcoreapp1.0
Instead of using `dotnet publish`, we can use `dotnet build` and the new
`netcoreapp1.0` framework with a new dependency on
`Microsoft.NETCore.App` to generate output that does not include the
runtime, but can be run anywhere (given the installation of the
runtime).

While we cannot yet adopt a dependency on the shared host until .NET
Core RTM, we are forced to switch to this system anyway because the
latest RC3 packages and CLI do not support `netstandardapp1.5`. See
dotnet/cli#2482.

Thus we're in an in-between state where we have to use `netcoreapp1.0`,
but cannot use `"Microsoft.NETCore.App": { "type": "platform" }` to
utilize the shared host, as we need to continue to ship our host.
Without specifying "platform", we retain the status quo with respect to
build steps and outputs.

Additionally, there is no longer a good reason to use the RC3 packages,
and it has been advised we switch to RC2 since the
`Microsoft.NETCore.App` is only available for RC2. We must update
packages because our current version can no longer be debugged.
2016-04-25 14:01:44 -07:00
.github Ask for current commit hash in issue template 2016-04-25 11:03:58 -07:00
.vscode Put version back to make VS Code happy 2016-04-01 10:26:50 -07:00
docs Switch to netcoreapp1.0 2016-04-25 14:01:44 -07:00
src Switch to netcoreapp1.0 2016-04-25 14:01:44 -07:00
test Switch to netcoreapp1.0 2016-04-25 14:01:44 -07:00
.gitignore Update .gitignore to include work on windows 2016-04-04 18:51:57 -07:00
.gitmodules Remove OMI and provider submodules 2016-04-12 12:10:54 -07:00
.travis.yml Enable xUnit tests on Linux 2016-04-14 18:07:33 -07:00
appveyor.yml Switch to netcoreapp1.0 2016-04-25 14:01:44 -07:00
build.sh Import-Module PowerShellGitHubDev in build.sh 2016-04-13 18:56:23 -07:00
debug.sh Improve debug.sh script 2016-02-19 14:58:42 -08:00
download.sh Install package dependencies in download.sh 2016-04-13 19:24:12 -07:00
global.json Add global.json for dnu restore from root 2015-11-24 15:07:55 -08:00
mapping.json Fix accidental mapping change 2016-04-08 18:09:09 -07:00
nuget.config Remove aspnetvnext and dotnet-cli feeds 2016-04-22 13:50:17 -07:00
PowerShellGitHubDev.psm1 Switch to netcoreapp1.0 2016-04-25 14:01:44 -07:00
README.md Move CONTRIBUTING.md into .github folder 2016-04-22 15:12:02 -07:00

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 Build Status
OS X 10.11 Build Status
Windows Build status

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. To make things easy, we can just clone recursively.

git clone --recursive https://github.com/PowerShell/PowerShell.git