Commit graph

1008 commits

Author SHA1 Message Date
Andrew Schwartzmeyer
ef1c718782 Use --configuration Linux for CorePS build 2016-02-02 16:11:36 -08:00
Andrew Schwartzmeyer
75eba6fe88 Remove Computer.cs from Commands.Management 2016-02-02 16:11:36 -08:00
Sergei Vorobev
b243976d1a Build Full and Core PowerShell on AppVeyor 2016-02-02 16:11:05 -08:00
Sergei Vorobev
0d2d961020 Add build.FullCLR.ps1 script
This script builds PowerShell targeting FullCLR, using the same projects
as Core PowerShell, and PowerShell on Linux.
2016-02-02 16:09:58 -08:00
Sergei Vorobev
39153321d4 Add CMake project to build Windows powershell.exe 2016-02-02 16:08:58 -08:00
Andrew Schwartzmeyer
c8351063ef Add file superset to Utility and Automation
To enable building on both Core and Full CLR with the same project.json
files, the superset of file dependencies for both builds must be
included. The set differences are applied by `CORECLR` preprocessor
guards around the files themselves.

The file name cases were corrected for case-sensitive filesystems.
2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer
bd79884b81 Update AssemblyInfo files for FullCLR build 2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer
989b59c089 Add Microsoft.PowerShell.ConsoleHost
For the Windows console.
2016-02-02 15:43:54 -08:00
Sergei Vorobev
b4f8d5237c Add dnx451 to project.json files 2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer
92127e4cfc Uses spaces instead of tabs in project.json files 2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer
172ddc6ad1 Refactor project.json dependencies
The packages are now dependencies of the `dnxcore50` framework itself,
rather than globally. The `compilationOptions` were pruned, with
`CORECLR` moved to frameworks, `_CORECLR` removed for all but
`Management.Infrastructure`, and `LINUX` moved to a new `Linux`
configuration, used only in `build.sh`. This configuration is
purposefully absent from libraries that do not use `LINUX`, so that it
is not relied upon without strong consideration. The dependencies
were pruned to reduce duplication.
2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer
3e1cdb7582 Decrease failed test threshold to 11
The updated packages fix our Start/Stop process tests, which were
failing intermittently due to the process name appearing incorrect.

See dotnet/corefx#5421 for further details.
2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer
c7fb9d2158 Add System.Diagnostics.Process dependency
The new packages do not pull this in automatically.
2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer
a8be633089 Bump packages to rc3-23729 2016-02-02 15:43:54 -08:00
George Fleming
7e2b25e4d0 Use ConsoleReadLine for script debugger
Instead of Console.ReadLine() so that arrow keys and tab-completion can
be used.
2016-02-01 17:36:30 -08:00
v-alexjo
03a6a275fe Add build script for OMI provider and OMI 2016-02-01 17:34:44 -08:00
Andrew Schwartzmeyer
c162c1c19e Title case ExecuteHelper function 2016-02-01 13:12:29 -08:00
Andrew Schwartzmeyer
ad064bf483 Use --noprofile for Pester tests 2016-02-01 13:12:29 -08:00
Andrew Schwartzmeyer
bbadc64407 Add --noprofile option to host
Disables parsing of all profiles when used.
2016-02-01 13:12:29 -08:00
Andrew Schwartzmeyer
499e5d4142 Remove unsupported --working-dir flag 2016-02-01 12:57:29 -08:00
Andrew Schwartzmeyer
3fcb9ae569 Fix up --help
Moved to argument parsing and cleaned up.
2016-02-01 12:57:29 -08:00
Andrew Schwartzmeyer
92b5d40f76 Bump monad submodule 2016-01-29 17:25:00 -08:00
Andrew Schwartzmeyer
3f1a1311fe Add missing cmdlets/modules to known issues 2016-01-29 17:24:49 -08:00
Andrew Schwartzmeyer
52a7095056 Use Modules instead of SnapIns
Proper deployment of the Modules we support allowed me to remove my
work-arounds using the deprecated SnapIn system to load all PowerShell
libraries via Modules.

I still don't like that this is done in build scripts, but we need
better asset support from .NET CLI to change how this is done.

PowerShell.Utility now deploys the CoreClr manifest, so unsupported
commands don't show up erroneously.
2016-01-29 17:24:49 -08:00
Andrew Schwartzmeyer
fd782abe99 Make dotnet-nightly workaround version-agnostic
If the `Debug/dnxcore50` path does not exist, don't worry about it.
2016-01-29 17:24:49 -08:00
Andy Schwartzmeyer
fa7b96253d Note that CI gates pull requests
[ci skip]
2016-01-29 09:33:27 -08:00
Andrew Schwartzmeyer
188598e4ca Temporarily fix build scripts due to CLI bug
Latest versions of .NET CLI ignore --output and instead publish to a
long path inside of it. Until this is resolved properly, we can work
around it by copying to the expected location.

Revert this when CLI is fixed.
2016-01-28 18:38:57 -08:00
Andrew Schwartzmeyer
6f6239aa60 Bump monad and windows-build submodules 2016-01-26 17:00:13 -08:00
Andrew Schwartzmeyer
71f670f86c Add packages required for updated sources
Commands.Utility now needs Microsoft.CodeAnalysis.CSharp, which doesn't
explicitly target `dnxcore50`, so now Commands.Utility and the packages
which depend on it now much `import` the Portable Windows framework.
This also required adding the aspnetvnext feed.

System.Management.Automation now requires System.Diagnostics.StackTrace.
2016-01-26 16:49:28 -08:00
Andrew Schwartzmeyer
e125650e54 Update mapped compileFiles
Removed CorePsPlatform.cs from the build mapping so that I could perform
it before merging.

Note that SMA by default now builds with a bunch of tracing files for
ETW, which cannot be compiled on Linux and must be hand-removed from the
windows-build auto-generated compileFiles output.
2016-01-26 16:43:02 -08:00
Andrew Schwartzmeyer
05205ecac7 Realign project.json files 2016-01-26 15:47:22 -08:00
Andrew Schwartzmeyer
d73d51cd70 Link Waffle.io scrum board in readme
Add note to skip CI tests for documentation changes.

[ci skip]
2016-01-25 10:38:35 -08:00
Andrew Schwartzmeyer
ee79e87d65 Let Travis notify Slack 2016-01-22 15:05:57 -08:00
Andrew Schwartzmeyer
0bdd2e4182 Enable Travis CI
- Add badge to readme
- Use language 'cpp' because 'csharp' would bring in Mono
- Set to Trusty Tahr (Ubuntu 14.04)
- Only clone necessary submodules
- Use SSH for powershell-ci user access
- Install dotnet-cli
- Build PowerShell
- Run Pester tests
2016-01-22 14:33:34 -08:00
Andrew Schwartzmeyer
cd81479b87 Add test failure threshold to pester.sh
Set to 14 because of non-tty and random process failures.
2016-01-22 14:32:04 -08:00
Andrew Schwartzmeyer
e6a4c45485 Enable Environment.Exit
Was not previously available.

Moved so `--command` exits with code too.
2016-01-22 14:12:53 -08:00
Andrew Schwartzmeyer
fe0ca95c22 Enable more UI code that's now available 2016-01-22 14:12:53 -08:00
Sergei Vorobev
9d1c5f2c96 Update README.md
remove temp branch from build table [skip ci]
2016-01-22 12:49:49 -08:00
Andrew Schwartzmeyer
9a5c010f54 Skip BufferSize when not interactive
So short of re-implementing an entire new PSHost for non-interactive
sessions, this is a work-around. If a script (file or command) is passed
to the shell, we tunnel that information through to the raw UI so it can
skip calling out to the TTY (which may not exist).

There has to be a better way to do this, but the structure of PSHost >
UI > Raw UI just makes this incredibly difficult.
2016-01-22 12:40:04 -08:00
Sergei Vorobev
706048344f Add AppVeyor CI integration.
AppVeyor is a cloud-based CI platform for windows.
Use [skip ci] tag in any place of message to mark commit as trivial (i.e.
README.md changes).
2016-01-22 12:40:04 -08:00
Paul Allen
49efe636d1 Bump OMI and provider modules 2016-01-22 10:56:29 -08:00
Andrew Schwartzmeyer
7061c87eb2 Move more Git notes to CONTRIBUTING.md 2016-01-21 13:06:51 -08:00
Andy Schwartzmeyer
c9e4320223 Add explicit dependency instructions to README 2016-01-21 12:25:48 -08:00
Andrew Schwartzmeyer
423e7da910 Add link to known issues 2016-01-20 12:33:42 -08:00
Andrew Schwartzmeyer
0dda6c34a1 More readme updates 2016-01-20 12:29:06 -08:00
Andrew Schwartzmeyer
0cdbe9a3aa Bump dsc submodule because of upstream rewrite 2016-01-20 11:47:39 -08:00
Andrew Schwartzmeyer
c61f649e10 Bump libpsl-native and windows-build submodules
With new readmes.
2016-01-20 11:34:35 -08:00
Andrew Schwartzmeyer
395300ff20 Create contributing file and update readme 2016-01-20 11:33:57 -08:00
Andrew Schwartzmeyer
b9e2d3f446 Update OMI submodule's remote URL
OMI was transferred to the Microsoft organization, with read access for all FTEs.
2016-01-20 10:51:00 -08:00
Andrew Schwartzmeyer
b451d02c5a Update profile banner 2016-01-20 10:26:13 -08:00