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
Zachary Folwick
c3cec1d433
bringing in committed monad changes
2015-10-09 12:44:49 -07:00
Zach Folwick
8f0fbb3263
Merge pull request 172 from dev/get-itemproperty into develop
2015-10-09 19:02:59 +00:00
Zach Folwick
ec37a9667e
Merge pull request 171 from dev/dotnetapi into develop
2015-10-09 19:02:01 +00:00
Zachary Folwick
cdd2add9b1
added get-itemproperty tests
2015-10-09 12:01:16 -07:00
Zachary Folwick
3956b8cd5b
added tests to ensure that powershell can interface with the dotnet api
2015-10-09 10:51:23 -07:00
Zachary Folwick
92114f21e7
added unit tests for CommandLineToArgvW in Linux
2015-10-08 15:23:06 -07:00
Zachary Folwick
51c998b57e
added unit test to verify functionality of CommandLineArgvW in linux
2015-10-08 15:23:06 -07:00
Andy Schwartzmeyer
9152a8bc60
Merge pull request 169 from dev/cache-nuget into develop
2015-10-07 22:49:34 +00:00
Andrew Schwartzmeyer
9124e4a328
Cache nuget.exe in scripts
...
Rather than downloading nuget.exe on every run, we can cache it, just
not in monad-ext with a rule to copy it. Instead, there's a rule to
refresh it from its canonical home.
See http://dist.nuget.org/index.html
2015-10-07 15:36:40 -07:00
Andy Schwartzmeyer
4682b26c08
Merge pull request 168 from dev/clean-up-makefile into develop
2015-10-07 20:34:28 +00:00
Andrew Schwartzmeyer
008f1ac4a3
Clean up Makefile
...
- Use explicit versions of NuGet packages
- Removed cruft
- Use MONO_PATH over cp
- Remove nuget.exe on cleanall
- Patch version bump of Reflection.Metadata and Collections.Immutable
2015-10-07 13:05:58 -07:00