Commit graph

1101 commits

Author SHA1 Message Date
Andrew Schwartzmeyer 9c0ee7072e Use NuGet instead of aspnetvnext for CodeAnalysis
The aspnetvnext MyGet feed was unreliable, and we should prefer NuGet
anyway. This should make automated builds fail less often.
2016-02-09 12:50:24 -08:00
Andrew Schwartzmeyer 65ccb3f49d Bump monad submodule with ClrFacade.Load refactor 2016-02-08 15:25:10 -08:00
Andrew Schwartzmeyer a694ab7770 Bump monad with merge from Source Depot 2016-02-08 14:00:55 -08:00
George Fleming 8adffbb2e2 Fix HOMEPATH and Wait-Event tests
On Windows, HOMEPATH is not necessarily `\Users\username`, so the test
was made to match more loosely.

Wait-Event's timeout varied more than expected, so the test's range was
increased.
2016-02-08 10:59:15 -08:00
George Fleming 6ce53af354 Fix errors on CoreCLR Windows port 2016-02-08 10:59:02 -08:00
George Fleming bdffd103d9 Remove / and /tmp references 2016-02-08 10:59:02 -08:00
George Fleming cb6d7011d9 Clean up temp files in pester scripts 2016-02-08 10:59:02 -08:00
Andrew Schwartzmeyer 363c0ccfd1 Modernize our nuget.config
Use the V3 api, and use the clear directive instead of
`activePackageSources`.
2016-02-05 16:04:06 -08:00
Sergei Vorobev de8b99386f Merge pull request #503 from PowerShell/full-deps
Update FullCLR ConsoleHost dependencies
2016-02-05 14:12:46 -08:00
Andrew Schwartzmeyer e0d81406d1 Update FullCLR ConsoleHost dependencies
Such that only one publish command is required.
2016-02-05 12:12:33 -08:00
Andrew Schwartzmeyer 89ad38beae Guard prompt function
Fixes #485.
2016-02-05 11:51:17 -08:00
Andrew Schwartzmeyer 39183cb4c3 Remove versions from frameworkAssemblies
This should fix bug #499 where building complains about a restore not
having been done, even when it has.
2016-02-05 11:13:09 -08:00
Andrew Schwartzmeyer def81cf9cc Update readme
- New links due to rename
- Better formatting
- More details
2016-02-05 10:18:23 -08:00
Sergei Vorobev 8a6d4aef98 Merge pull request #493 from PowerShell/console-freeze
Fix for #491: make powershell.exe work in new window
2016-02-04 13:35:21 -08:00
Andy Schwartzmeyer 889ca3087d Merge pull request #492 from PowerShell/remove-workaround
Remove temporary dotnet-publish workaround
2016-02-04 13:29:56 -08:00
Sergei Vorobev f8abd74658 Fix for #491: make powershell.exe work in new window
FullCLR windows host doesn't read keys when run in separate window.
Fix: don't use Start-Process -Wait $false -NoNewWindow $false

Instead, ommit this parameters. Seems like a bug in Start-Process.
2016-02-04 13:19:24 -08:00
Andrew Schwartzmeyer 5845a56d89 Use $env:CORE_ROOT if set, otherwise AppContext.BaseDirectory
Otherwise the Json.NET DLL cannot be found when Pester tests are run
over PSRP.
2016-02-04 12:58:00 -08:00
Sergei Vorobev 1d53e655f4 Merge pull request #487 from PowerShell/on_finish
Publish AppVeyor artifacts on PRs
2016-02-04 10:39:52 -08:00
Sergei Vorobev caea515a93 Publish AppVeyor artifacts on PRs
I originally used `deploy_script:` section for publishing artifacts.
This section is not invoked on Pull Requests.
Hence, use `on_finish` section instead, so we can consume artifacts from PRs as well.
2016-02-04 10:30:19 -08:00
Sergei Vorobev 6d5194057e Add FullCLR section to README.md
* Setup environment
* Building
* Running
* Running from CI server
2016-02-03 19:07:36 -08:00
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