Commit graph

1062 commits

Author SHA1 Message Date
Andrew Schwartzmeyer dacaebefb8 Move Pester to submodule to Host/Modules
This way it can also be deployed automatically, removing the last manual
copy steps from our build scripts.

Travis and AppVeyor configurations updated for new submodule location.
2016-02-10 12:58:56 -08:00
Andrew Schwartzmeyer 79f5db71fe Add update-content.sh script 2016-02-10 12:52:36 -08:00
Andrew Schwartzmeyer 74a3855602 Add Modules to tree for content
Same as ps1xml files: already deployed in the wild, i.e. not source
code. Allows to remove recursive copies from build scripts and rely just
on CLI's behavior.
2016-02-10 12:48:46 -08:00
Andrew Schwartzmeyer 9f95aa3203 Use content to publish PSL_profile.ps1 2016-02-10 12:44:49 -08:00
Andrew Schwartzmeyer 9a2a8555e3 Copy ps1xml files into tree to use content
This allows us to remove the duplicated copying steps from our Windows
and Linux build scripts. These files are already distributed to users of
Windows, and so are not "source code."
2016-02-10 12:38:00 -08:00
Andrew Schwartzmeyer fcb2ce6d71 Remove registry stub
With latest changes to PowerShell source code, and better behaviors of
Get/Set-ExecutionPolicy, the Windows registry API stub can be removed.
2016-02-09 16:10:10 -08:00
Andrew Schwartzmeyer 5442346820 Update Get/Set-ExecutionPolicy tests
Test expected behaviors on both Windows and Linux.
2016-02-09 16:10:10 -08:00
Andrew Schwartzmeyer 4d9c7303b9 Bump monad with changes to ExecutionPolicy 2016-02-09 16:10:10 -08:00
Sergei Vorobev 414439d3e4 Merge pull request #524 from PowerShell/vcxproj
Build vxcproj file instead of sln file on fullCLR
2016-02-09 15:53:20 -08:00
Sergei Vorobev 50984f7036 Build vxcproj file instead of sln file on fullCLR
Building sln file generated by cmake causes troubles on my dev machine.
It contains additional checks for tools version that cannot be satisfied.
2016-02-09 15:40:22 -08:00
Andrew Schwartzmeyer 426e70565a Clean up .gitignore files 2016-02-09 14:06:39 -08:00
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