Commit graph

15 commits

Author SHA1 Message Date
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
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 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 ec08d9f46c Move Pester test/Pester and push to GitHub 2016-01-14 16:17:50 -08:00
Andrew Schwartzmeyer ae033a5846 Move monad-native to libpsl-native on GitHub 2016-01-14 10:32:02 -08:00
Andrew Schwartzmeyer af1343472d Fix up Get-OmiInstance build and tests
Deploying module is a bit funky until dotnet-cli gives us more control
over which libraries to build and where. Theoretically we'll be able to
package System.Management.Automation and depend on the package instead,
so Commands.Omi can be its own project entirely.

Cleaned up the Commands.Omi project.json as it had some unnecessary
cruft from where it was copied. Also removed the AssemblyInfo as it does
not matter for a new module.

Moved the Get-OmiInstance Pester test to the project's test folder so it
doesn't run with our suite of tests (as it takes a dependency on OMI).
2015-12-23 12:29:08 -08:00
George Fleming d0e2c22e54 Added Get-OmiInstance cmdlet
In a separate module importable into PowerShell.
2015-12-23 11:15:38 -08:00
Andrew Schwartzmeyer b3a92e0ed3 Fix types and format files
Link to them instead so they don't get out of date. Explicitly fix the
incorrectly named file with an explicit link name. Also deploy the types
files with fixes to monad to fix shell output for various cmdlets.

Bumps monad submodule.
2015-12-22 17:03:14 -08:00
Andrew Schwartzmeyer eabd6a41ba Deploy PowerShell.Utility modules
Odd that this caused only one test failure.
2015-12-21 13:41:30 -08:00
Andrew Schwartzmeyer c9beaf314e Deploy Pester with symlink 2015-12-16 15:34:05 -08:00
Andrew Schwartzmeyer fd0d529582 Rename publish.sh to build.sh for consistency 2015-12-16 13:48:20 -08:00
Andrew Schwartzmeyer 3876732d2e Add run script
- Deploy profile.ps1xml
- Remove deprecated build/nuke scripts
2015-12-14 10:30:39 -08:00
Andrew Schwartzmeyer 8994aea430 Fix up dirty build scripts 2015-11-23 19:43:46 -08:00
Andrew Schwartzmeyer cc05381fe6 Add quickly written build scripts
These are from from correct.
2015-11-23 17:54:30 -08:00