Commit graph

1129 commits

Author SHA1 Message Date
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
Andrew Schwartzmeyer ec08d9f46c Move Pester test/Pester and push to GitHub 2016-01-14 16:17:50 -08:00
Andrew Schwartzmeyer a36329e355 Bump DSC with fixes 2016-01-14 14:58:18 -08:00
Andrew Schwartzmeyer 953afd841e Move OMI PSRP provider to GitHub
Remove the `monad` prefix from its name.
2016-01-14 14:54:27 -08:00
Andrew Schwartzmeyer 19d8a6a0b2 Move monad-build to windows-build on GitHub
Better name since this submodule only has to do with the Windows build
system and generated artifacts.
2016-01-14 12:55:39 -08:00
Andrew Schwartzmeyer 895fbb8d40 Move monad to psl-monad on GitHub
- Removed more pre-processor conditionals
- Loads libpsl-native
- Pruned wmi (rewrote history)

The wmi folder was massive, and we did not need 99% of it, so a `git
filter-branch --tree-filter` was performed to remove all but the single
necessary subdirectory before pushing to GitHub.

The psl-monad repository can no longer be updated from the existing
GitSD sync. When the PSW teams have a Git repo for the monad codebase,
we will apply our patches to it and delete this fork.
2016-01-14 10:34:13 -08:00
Andrew Schwartzmeyer ae033a5846 Move monad-native to libpsl-native on GitHub 2016-01-14 10:32:02 -08:00
Andrew Schwartzmeyer b89766a2f0 Merge branch 'dev/start-dsc' 2016-01-12 17:38:21 -08:00
Andrew Schwartzmeyer e732e15ba4 Bump Newtonsoft.Json to 8.0.2 2016-01-12 12:31:17 -08:00
Andrew Schwartzmeyer 864d9bec01 Update readme 2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer ec49e37de6 Add DSC submodule from GitHub 2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer ad637c3548 Bump OMI submodule with test fixes 2016-01-12 12:25:25 -08:00