Andrew Schwartzmeyer
bbdc3de691
Use nuget -restore functionality
...
- Download nuget.exe from its official home
- Remove beta nuget.exe from monad-ext
- Specify dependencies in packages.config and use nuget.exe -restore
- Add prepare dependency to package libraries
- No more manual prepare step
- Update .gitignore
2015-10-06 21:55:21 -07:00
Andrew Schwartzmeyer
0c6a7616fc
Update Roslyn compiler
...
Prior package was last updated 2015-05-20 and was prerelease. New
package is stable at 1.0.0 from 2015-07-13.
https://www.nuget.org/packages/Microsoft.Net.Compilers/
2015-10-06 21:26:48 -07:00
Andrew Schwartzmeyer
1b1cfe4602
Improve lipbs build
...
- Use $(MAKE) -C like the good developers intended
- Use -j flag for practically instant libps compilation
- DRY the dependencies and copies
2015-10-06 21:16:59 -07:00
Andrew Schwartzmeyer
26a1bfb696
Improve make clean, cleanall, clean-native
...
- Use clean-native to clean the native library
- Remove buildtemp and dotnetlibs from Git, mkdir on demand
2015-10-06 21:16:34 -07:00
Andrew Schwartzmeyer
bf930abb96
Update CoreCLR/CoreFX to TFS build 23214
...
- Repins monad-ext to master, which was reset to the CoreCLR/FX update.
- Fixes Makefile for restructuring of monad-ext/coreclr
- Repins monad with fix for lack of System.Reflection.Metadata
- Updates build mapping for repin of monad
2015-10-06 18:38:48 -07:00
Andrew Schwartzmeyer
b9e313a3ba
Use bash, not sh
2015-10-02 12:08:12 -07:00
Andrew Schwartzmeyer
c40bae356a
Repin monad to 2015-10-01
2015-10-01 11:45:49 -07:00
Andrew Schwartzmeyer
c8c05b23fb
Run sudo with --set-home
2015-10-01 10:36:23 -07:00
Andrew Schwartzmeyer
be7932155a
Make impersonation switchable
...
Useful when debugging issues with root vs non-root
2015-10-01 10:18:10 -07:00
Andrew Schwartzmeyer
3ea6e96663
Run as local user inside Docker container
2015-10-01 10:18:10 -07:00
Andrew Schwartzmeyer
d0e93b6b7f
Refactor build.sh
...
- build.sh runs non-interactively
- build-tty.sh runs interactively with a pseudo tty
- both are shims to build-run.sh
- monad-native no longer depends on a tty
2015-10-01 10:18:10 -07:00
Andrew Schwartzmeyer
b14a455343
Create TypeCatalogGen.exe input, powershell.inc
...
Previous attempt at this failed because it is not actually a Makefile.
2015-09-30 18:41:02 -07:00
Andrew Schwartzmeyer
88aefa5f40
Refactor to use $(APP_BASE)
...
Now that everything is run from exec_env/app_base, we can reuse it and
remove TESTRUN_FOLDER.
2015-09-21 11:20:30 -07:00
Andrew Schwartzmeyer
77b5569385
Fix rm
2015-09-18 14:18:05 -07:00
Andrew Schwartzmeyer
bb4739db78
Refactor NuGet install step
2015-09-18 13:19:45 -07:00
Andrew Schwartzmeyer
050206ff8a
Delete xunittests.xml on make clean
2015-09-18 12:59:59 -07:00
Andrew Schwartzmeyer
94f3fef288
Remove unneeded strings folders
2015-09-18 12:59:59 -07:00
Andrew Schwartzmeyer
8145ea26a4
Refactor Makefile
...
- Update variable names
- Remove no longer used variables
- Include coreref and tests directly (now that they're short)
2015-09-18 12:59:59 -07:00
Andrew Schwartzmeyer
c2787fdaca
Repin monad and build mapping
...
Monad submodule has been squashed and rebased to new PowerShell branch,
th2_srv1_mgmt_dev. Build system has been updated to include upstream
changes, as well as the addition of CorePsPlatform.cs to the PowerShell
build system (so it longer needs to be added automatically).
2015-09-15 16:46:06 -07:00
Andrew Schwartzmeyer
e5e9e30347
Ignore CS170{1,2} C# compiler warnings
2015-09-15 16:45:31 -07:00
Andrew Schwartzmeyer
f70f004238
Missed a pair
2015-09-03 15:23:16 -07:00
Andrew Schwartzmeyer
f163808eac
Swap {} for () in Makefile
...
Parentheses are more portable. There was an inconsistent mix of
parentheses and curly braces.
2015-09-03 14:55:21 -07:00
Andy Schwartzmeyer
54b2435811
Merge pull request 142 from dev/199-security into develop
2015-09-03 21:34:59 +00:00
Andrew Schwartzmeyer
562a9bb35b
Add Security.dll reference for Commands.Management.dll
...
While enabling previously disabled code in `cimConverter.cs`, it was
revealed that `Microsoft.PowerShell.Commands.Management.dll` has a
dependency on `Microsoft.PowerShell.Security.dll` for the type
`SecurityDescriptorCommandsBase`.
2015-09-03 14:31:46 -07:00
Peter Honeder
074acd4a8f
Merge pull request 141 from dev/175-run-ps-from-xunit into develop
2015-09-03 19:46:22 +00:00
Peter Honeder
84d58714fc
added a simple test that creates a full PS Runspace and executes a script
2015-09-03 21:43:17 +02:00
Andrew Schwartzmeyer
94be33afe1
Generate $COREREF in Makefile automatically
...
Previously generated by hand and saved. Now will update itself
automatically when monad-ext/coreclr is updated.
2015-09-03 11:10:49 -07:00
Andrew Schwartzmeyer
8c80840d69
Make path relative to monad-linux/scripts
...
Since that's where the Makefile lives
2015-09-01 14:08:04 -07:00
Andrew Schwartzmeyer
a7010cd742
Add make script.ps1
target for easy testing
...
Use like `make src/pester-tests/Test-Split-Path.Tests.ps1`
2015-09-01 13:55:54 -07:00
Andrew Schwartzmeyer
f648656cc1
Refactor test targets
2015-08-28 21:18:58 -07:00
Andrew Schwartzmeyer
913b5a97d0
Pin src/monad to develop-2015-08-28
...
Build files updated. Patches squashed and rebased.
2015-08-28 10:12:27 -07:00
Andrew Schwartzmeyer
1a3d4aa9a6
Refactor host usage
...
Build scripts and powershell-simple.cs were refactored to work with the
patch to CoreCLR and updated hosting code.
- Paths in Makefile were fixed because the hosting code runs the
assembly from the current working directory (usually app_base)
- runps scripts were all fixed because the hosting code CLI changed
- powershell-simple.cs was cleaned up because its Main function is now
directly executed
- monad submodule was repinned while we had the change
- monad-ext submodule was updated with rebuild CoreCLR binaries
- monad-native submodule was repinned to development, including fixed
test and hosting code changes
2015-08-21 17:43:46 -07:00
Andrew Schwartzmeyer
864e32f331
Merge branch 'develop' into dev/fix-nuget
2015-08-11 08:59:28 -07:00
Andrew Schwartzmeyer
c9e1b6cbb1
Use NuGet APIv3
2015-08-11 08:56:29 -07:00
Andrew Schwartzmeyer
ad91eb52c3
Add source flag to nuget.exe install
...
`-Source 'https://nuget.org/api/v2 '`
Works around NuGet 3 issues. Necessary with the MonoProject's
mono-devel (which is used in the Docker build container).
2015-08-05 16:45:19 -07:00
Andrew Schwartzmeyer
adc5cd7459
Update Docker build script to use fakelogin
...
fakelogin populates /var/run/utmp enough such that getlogin() works, and
is included in the latest Docker image.
Run `docker pull andschwa/magrathea` to update.
2015-08-05 15:35:20 -07:00
Peter Honeder
dc878906a8
Merge pull request 105 from dev/130-move-libps-build-to-buildtemp into develop
2015-08-03 08:18:16 +00:00
Peter Honeder
2bec2539cb
removed libps-build from .gitignore
2015-07-31 16:46:57 +02:00
Peter Honeder
66d2c7f35d
Makefile changes to move libps-build into buildtemp sub directory
2015-07-31 16:46:40 +02:00
Peter Honeder
0172601dee
made null change to .gitignore to re-trigger build
2015-07-31 16:15:42 +02:00
Peter Honeder
f2fd9ca303
enabled hash bang support, fixed run scripts to not alter the current working directory
2015-07-31 00:47:22 +02:00
Peter Honeder
56ae9e5ebd
changed Dockerfile to support updated directory structure in exec_env, added copy command to copy missing libps.so for run targets
2015-07-30 18:47:25 +02:00
Peter Honeder
ed93168e5e
refactored Makefile run targets, added helper scripts for powershell-simple, changed how PS is invoked to solve issue #122 , moved dlls for PowerShell away from CoreCLR, re-pinned to latest monad and monad-native fixes, added UnmanagedMain entry point for powershell-run.exe
2015-07-30 16:57:32 +02:00
Peter Honeder
5e68effa29
added host_cmdline to RUN_TARGETS
2015-07-29 17:31:38 +02:00
Peter Honeder
b0f73c085a
changed back make targets, changed existing make targets to new custom hosting for powershell-simple.exe
2015-07-29 17:31:38 +02:00
Peter Honeder
d20045ff58
added libicu52 to docker container
2015-07-29 17:31:38 +02:00
Peter Honeder
543649c7fd
cleaned up Makefile
2015-07-29 17:31:38 +02:00
Peter Honeder
c080f351ea
re-pin to latest native host implementation, changed managed code signature
2015-07-29 17:31:38 +02:00
Peter Honeder
68af229f58
added more temporary folders to .gitignore
2015-07-29 17:31:38 +02:00
Peter Honeder
72bcbd9eea
initial version of custom hosting code
2015-07-29 17:31:24 +02:00