Commit Graph
448 Commits
Author SHA1 Message Date
Paul Allen 4d63ee46d8 Pick up omi fixes for options 2015-10-19 15:27:53 -07:00
Andrew Schwartzmeyer 61222055a6 Ignore errors from clean targets 2015-10-16 12:28:59 -07:00
Andrew Schwartzmeyer f724203825 Add cleaning targets for PSRP 2015-10-16 12:25:17 -07:00
Andrew Schwartzmeyer 39a89925e0 Fix OMI dependency for provider 2015-10-16 12:24:48 -07:00
Andrew Schwartzmeyer 36ff3d0678 Add OMI targets to Makefile
Recursively builds OMI and the TestShell provider. The OMI tests
currently do not pass and so have not been added to `make test`.
2015-10-16 11:43:28 -07:00
Paul Allen 335f5b3792 Update the omi and provider submodules so that they build 2015-10-16 10:50:10 -07:00
Andrew Schwartzmeyer 714f5e5fe3 Update readme 2015-10-15 16:28:40 -07:00
Andy Schwartzmeyer f988e7ba3a Merge pull request 178 from develop into master 2015-10-15 22:50:59 +00:00
Andy Schwartzmeyer 23628d7710 Merge pull request 183 from dev/omi into develop 2015-10-15 22:50:17 +00:00
Andrew Schwartzmeyer 2473bf0ce4 Add src/omi submodule at OMI-Shell/OMI-PSRP-Support 2015-10-15 13:53:42 -07:00
Andrew Schwartzmeyer f6e6a75cf5 Add src/monad-omi-provider 2015-10-15 13:50:03 -07:00
Andy Schwartzmeyer 0496ff3cd2 Merge pull request 182 from dev/select-object into develop 2015-10-15 20:12:36 +00:00
Andy Schwartzmeyer 461008b0ba Merge pull request 181 from dev/rebuild into develop 2015-10-15 17:11:20 +00:00
George Fleming a352f21316 Changes per pull request 182 comments 2015-10-15 10:11:17 -07:00
Andrew Schwartzmeyer 49a2b29b03 Clean up cruft 2015-10-14 22:41:00 -07:00
Andrew Schwartzmeyer 6c47d78821 Refactor exec_env setup, can now build in parallel
With dependencies setup correctly, `make -j` now works as
expected. `prepare` target came back under a new role, to setup the
application base and CoreCLR in the execution environment.

Note that `$(APP_BASE)` is a phony target because we always want a clean
deployment. Cannot `rm -rf exec_env` because it conflicts with
`$(CORECLR)` when run in parallel.
2015-10-14 22:40:52 -07:00
Andrew Schwartzmeyer c8f76b6281 Factor out relative paths in Makefile
They make for terrible headaches.
2015-10-14 19:31:22 -07:00
Andrew Schwartzmeyer f5fcc96562 Fix missing dependency for PowerShell.Security.dll 2015-10-14 19:13:45 -07:00
Andrew Schwartzmeyer 504d2c327e Refactor xUnit build
`ps_test.dll` is now built in dotnetlibs, and copied along with xUnit
libraries during `internal-prepare-exec_env`.

Build process now creates things only as needed.
2015-10-14 14:17:34 -07:00
George Fleming 64f34638c2 Improved readability of some variables 2015-10-14 14:15:03 -07:00
Andrew Schwartzmeyer a6006be854 Move libps build out of buildtemp 2015-10-14 14:05:52 -07:00
Andrew Schwartzmeyer 304df08fd7 Refactor use of dotnetlibs for reduced rebuilding
Also cleaned up Makefiles.  Added `scripts/dotnetlibs` back to Git so
Make doesn't ever have to create it (now I understand Peter's reasoning
here).
2015-10-14 14:03:01 -07:00
George Fleming b038ccf365 Add new pester test for Select-Object cmdlet 2015-10-14 13:37:42 -07:00
George Fleming 9394a4cae8 Adding a new test utility file that contains mocks and functions 2015-10-14 13:36:05 -07:00
Andrew Schwartzmeyer 5d9c7c6d5f Refactor prepare target for non-phony buildtemp
- buildtemp, being non-phony, won't cause a recompilation every run
- rearranged where appropriate for better use of $<
2015-10-14 09:59:11 -07:00
Andrew Schwartzmeyer 3f82f7a4fb Remove PRODUCT_BASE_REFS 2015-10-14 08:58:16 -07:00
Andrew Schwartzmeyer 2657db7278 Fix IMPERSONATE=false 2015-10-14 08:58:01 -07:00
Andy Schwartzmeyer 41e67ea486 Merge pull request 180 from dev/tests into develop 2015-10-14 03:14:38 +00:00
Andrew Schwartzmeyer 8f39b0a809 Rename XML test results 2015-10-13 19:57:51 -07:00
Andrew Schwartzmeyer 34dcc5c059 Enable XML output for native tests 2015-10-13 19:48:58 -07:00
Andrew Schwartzmeyer 72e9a1fed0 Add pestertests.xml to cleanall target 2015-10-13 19:46:05 -07:00
Andy Schwartzmeyer fcaca3ac7c Merge pull request 179 from dev/pester-xml into develop 2015-10-14 01:49:11 +00:00
Andrew Schwartzmeyer 87988c7bea Enable XML output for Pester
- Taught Git to ignore XML output
- Updated Pester submodule with fixes
- Enabled reporting in Pester Makefile target
2015-10-13 15:25:39 -07:00
Andy Schwartzmeyer f98303d2bb Merge pull request 176 from dev/make into develop 2015-10-13 21:24:17 +00:00
Andrew Schwartzmeyer acce65c680 Add basic Hello World program for easier testing
We can use this to assert simple things about .NET Core (our build in
particular) for easier debugging.
2015-10-13 14:19:20 -07:00
Andrew Schwartzmeyer 3284c33f85 Fix "Hello World" target 2015-10-13 13:45:27 -07:00
Andrew Schwartzmeyer e483e449ad Add build.sh back as wrapper to monad-run
Fixes CI and lets us remove it at a later date.
2015-10-13 13:39:52 -07:00
Andrew Schwartzmeyer 16db74fb3e Build from scripts again 2015-10-13 13:37:06 -07:00
Andrew Schwartzmeyer e95b3dc801 Fix mkdir 2015-10-13 13:35:06 -07:00
Andrew Schwartzmeyer 9b0ef11e2f Add "Hello World" exe target
Compile with monad-run make HelloWorld.exe, given a HelloWorld.cs. Will
compile with our .NET Core, and output how to run. Does not support
multiple files.
2015-10-13 12:55:38 -07:00
Andy Schwartzmeyer 0b755aa906 Merge pull request 177 from dev/runtime into develop 2015-10-13 16:58:59 +00:00
Andrew Schwartzmeyer 487f7a5034 Remove workaround for missing Reflection.Metadata
- monad-ext updated to contain missing libraries
- monad updated to remove workaround
2015-10-12 21:26:53 -07:00
Andrew Schwartzmeyer 53cb7f8ffa Alias shell to run-interactive 2015-10-12 20:49:03 -07:00
Andrew Schwartzmeyer 80bc66eaaa Remove deprecated scripts 2015-10-12 20:49:03 -07:00
Andrew Schwartzmeyer 0d4ebb38b8 Replace docker build scripts
Import the functions into your shell, `source scripts/monad-docker.sh`,
then run `monad-run make test` or `monad-tty make run-interactive` from
`monad-linux`. Top level `Makefile` passes to `scripts/Makefile`.
2015-10-12 20:49:03 -07:00
Andy Schwartzmeyer 1f63da09a4 Merge pull request 175 from dev/clean-cliargv into develop 2015-10-09 23:10:35 +00:00
Andrew Schwartzmeyer 9270e0b9eb Implement simpler use of CommandLineToArgv
Reduced code churn from monad's master branch (aka Source Depot)
2015-10-09 16:02:11 -07:00
Zach Folwick 7b041dc6e2 Merge pull request 174 from dev/get-psprovider into develop 2015-10-09 20:28:37 +00:00
Zachary Folwick 0ac13b99c1 Added Get-PSProvider unit tests 2015-10-09 13:24:08 -07:00
Zach Folwick 28c7bd33fb Merge pull request 173 from dev/cliargv into develop 2015-10-09 19:54:18 +00:00