Commit graph

990 commits

Author SHA1 Message Date
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
Andrew Schwartzmeyer
ae9c58e3e3 Remove xUnit reference from csharp/project.json
Currently fails to restore, working on prototype.
2016-01-20 10:14:44 -08:00
Sergei Vorobev
2bcf57c147 Update README.md
Update step for windows init
2016-01-19 16:10:19 -08:00
Andrew Schwartzmeyer
4d8d738dd7 Bump monad submodule for Windows support 2016-01-19 12:56:56 -08:00
Andrew Schwartzmeyer
7c6aac1565 Update readme for cross-platform support 2016-01-19 12:56:56 -08:00
Andrew Schwartzmeyer
46f0631f64 Add build.ps1 for Windows 2016-01-19 12:56:56 -08:00
Andrew Schwartzmeyer
092feeef9a Emit powershell executable
Instead of Microsoft.PowerShell.Linux.Host

Since this changes the name of the library,
System.Management.Automation's assembly info needed to be updated.
2016-01-19 12:56:56 -08:00
v-alexjo
280951089e Added help file for the command line 2016-01-19 12:47:45 -08:00
George Fleming
b0e55b9181 Enable PowerShell script debugger 2016-01-19 12:35:13 -08:00
Andrew Schwartzmeyer
e4ad1d6603 Reindent and strip whitespace in host 2016-01-15 16:46:39 -08:00
Andrew Schwartzmeyer
f8ef219186 Clean up PSL_profile.ps1
Remove unneeded cruft and use here-string.
2016-01-15 16:41:05 -08:00
v-alexjo
8b12a68981 Additional logic for up-down arrows indexing
Also fixes tab completion for paths.
2016-01-15 16:40:43 -08:00
v-alexjo
c53144f0d3 Added banner to profile, removed from main 2016-01-15 15:39:42 -08:00
Andrew Schwartzmeyer
08c7d801f8 Execute profile commands with out-default
So functions called in profile can write to the screen without any
workarounds.
2016-01-15 15:39:42 -08:00
Andrew Schwartzmeyer
62de9f2645 Fix the Get-Item Pester test
Failed because we renamed the test directory.
2016-01-15 14:31:52 -08:00
Andrew Schwartzmeyer
056d6ba5a8 Update readme for GitHub 2016-01-15 11:58:34 -08:00
Andrew Schwartzmeyer
40946a68f3 Update build for OS X compatibility
Shared libraries are .dylib (not .so) so use a wildcard. Recent
dotnet-cli builds will guess the correct runtime when not supplied.
2016-01-15 11:55:09 -08:00
Andrew Schwartzmeyer
3042c6c8e5 Sort .gitmodules 2016-01-14 17:15:26 -08:00
Andrew Schwartzmeyer
bbebf2f76a Reorganize tests
- Pester source code moved to `test/Pester`, deleted `ext-src`.
- Pester tests (.ps1 files) moved to `test/powershell`
- xUnit tests (.cs files) moved to `test/csharp`
- Third-party script test moved to `test/shebang`
2016-01-14 17:00:06 -08:00