Commit graph

1281 commits

Author SHA1 Message Date
Sergei Vorobev
4435699516 Fix quotes in appveyor.yml 2016-02-03 17:42:54 -08:00
Sergei Vorobev
2096bca2b8 Run FullCLR sanitary tests in AppVeyor
This change brings a very minimal set of tests and make
build fail, if we cannot load some PS assamblies on FullCLR

We should increase test coverage for FullCLR in future.
2016-02-03 17:29:27 -08:00
Sergei Vorobev
1268b76dcd Teach PowerShellGithubDev.psm1 -NoNewWindow Mode
We need it to run tests in CI
2016-02-03 17:25:51 -08:00
Sergei Vorobev
a3c149196c Make build.FullCLR.ps1 build RELEASE by default
Since we start include CRT runtime inside powershell.exe,
the size of executable jumped from 32kb to 1Mb in DEBUG.
Release produces about 20kb, so we keep size managable.
2016-02-03 17:23:38 -08:00
Sergei Vorobev
706e6d7239 Make CMakeLists correctly build RELEASE 2016-02-03 17:22:18 -08:00
Sergei Vorobev
d2834bd8e9 Add binFull/ and build/ folders to .gitignore 2016-02-03 15:46:34 -08:00
Sergei Vorobev
e87aac7046 Make build.FullCLR.ps1 script more user friendly:
error messages + -G parameter support for cmake
2016-02-03 15:43:17 -08:00
Sergei Vorobev
f7559991ce Include msvcr120.dll runtime to powershell.exe 2016-02-03 15:43:16 -08:00
Andrew Schwartzmeyer
17a50a9f91 Remove temporary dotnet-publish workaround
Latest dotnet-nightly packages have not required this.
2016-02-03 15:21:29 -08:00
Andrew Schwartzmeyer
89d62012e8 Set Pester error threshold to 0 2016-02-03 14:13:38 -08:00
Andrew Schwartzmeyer
f42cf5985f Fix guard in MMI's AssemblyInfo 2016-02-03 11:03:13 -08:00
Sergei Vorobev
17d6ee4862 Add PowerShellGithubDev.psm1 module to run FullCLR powershell 2016-02-03 10:53:43 -08:00
Sergei Vorobev
48ae539f8f Add strong-name signature to Microsoft.Management.Infrastructure 2016-02-03 10:51:37 -08:00
Andrew Schwartzmeyer
3d4509bef0 Add AppVeyor notifications to PSCore Slack #ci channel 2016-02-02 20:09:37 -08:00
Andrew Schwartzmeyer
bea156b61c Move Travis CI notifications to PSCore Slack #ci channel 2016-02-02 19:57:04 -08:00
Sergei Vorobev
29349c04c8 Bump monad version to include UsesCodeSignedAssemblies() fix 2016-02-02 17:59:18 -08:00
Andrew Schwartzmeyer
15e2edefba Bring back BufferWidth and BufferHeight 2016-02-02 17:05:57 -08:00
Andrew Schwartzmeyer
a4fd57298d Revert "Skip BufferSize when not interactive"
This reverts commit 9a5c010f54.
2016-02-02 17:05:49 -08:00
Andrew Schwartzmeyer
d31647f52c Bump monad submodule with use of NOETW 2016-02-02 16:48:03 -08:00
Andrew Schwartzmeyer
9cfe821bc2 Add NOETW preprocessor definition to Automation
This is necessary to disable Tracing on Core PowerShell until the
reimplementation of the Eventing library is ported to CLI.
2016-02-02 16:46:51 -08:00
Andrew Schwartzmeyer
f1dc37bb37 Bump monad and windows-build submodules 2016-02-02 16:14:13 -08:00
Andrew Schwartzmeyer
801b347e5a Add ImplicitRemotingCommands and WebCmdlet to known issues 2016-02-02 16:14:13 -08:00
Andrew Schwartzmeyer
3cfa68caa0 Remove executable bit from build.ps1 2016-02-02 16:11:37 -08:00
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