Commit graph

574 commits

Author SHA1 Message Date
Andrew Schwartzmeyer
0b6adb68ee Use $here to avoid 'cd $(PESTER)'
Per the Pester examples: https://github.com/pester/Pester/blob/master/Examples/Calculator/Add-Numbers.Tests.ps1
2015-11-02 15:20:31 -08:00
Andy Schwartzmeyer
9b003f059c Merge pull request 233 from dev/update-monad into develop
Update submodules
2015-10-30 18:55:53 +00:00
Andrew Schwartzmeyer
4c9540d777 Update submodules
This brings in the updates to monad-native and monad-build necessary to
bring in the updates to monad.
2015-10-30 11:16:27 -07:00
Zach Folwick
2139173dbe Merge pull request 230 from dev/console-prompt into develop
Merge dev/console-prompt to develop
2015-10-30 17:58:56 +00:00
Zachary Folwick
a20d80c099 added todo message for later completion 2015-10-30 10:57:02 -07:00
Andrew Schwartzmeyer
785e14808d Track develop branch of monad-native 2015-10-30 10:56:31 -07:00
Zachary Folwick
cc578caf38 changed query to get the HOME environment variable, since that's what we're really going for and won't break under root 2015-10-30 10:24:21 -07:00
Zachary Folwick
5680a1d6c2 added code to allow navigation via by querying the environment variable. This appears to be how it's already done in linux 2015-10-29 15:58:47 -07:00
Zach Folwick
eb05ca2e4e Merge pull request 228 from dev/convertFrom-stringdata into develop
added convertFrom-StringData pester tests to parse structured data
2015-10-28 21:30:01 +00:00
Andy Schwartzmeyer
576f4b9a51 Merge pull request 225 from dev/defaults into develop
Merge dev/defaults to develop
2015-10-28 21:21:42 +00:00
Zachary Folwick
62f986a6f3 added convertFrom-StringData pester tests to parse structured data 2015-10-28 11:38:24 -07:00
Andrew Schwartzmeyer
d92a3ea5b3 Fix distribution of .NET
I still really don't like copying this around, but until we get using
DNX, it's probably our best bet. Now, at least, the host can expect
lib/{powershell,coreclr}.
2015-10-28 10:04:39 -07:00
Andrew Schwartzmeyer
74b35fb6cc Update monad submodule because of monad-native
monad-native develop and monad got out of sync, this fixes that
2015-10-28 00:05:11 -07:00
Andrew Schwartzmeyer
44a468a0fa Update monad-native submodule
To bring in sensible default handling.
2015-10-27 23:58:08 -07:00
Andrew Schwartzmeyer
dd394a455f Use defaults for PWRSH_ROOT and CORE_ROOT
This moves the PowerShell output to `lib/powershell` and copies the
.NET runtime assemblies to `lib/coreclr`.
2015-10-27 23:42:26 -07:00
Zachary Folwick
78e8e83555 made the text output b/w instead of white on a green background 2015-10-27 17:33:17 -07:00
Zachary Folwick
718ecb6005 made debug text yellow and background the default color 2015-10-27 17:32:38 -07:00
Zachary Folwick
dbc14ff1ea moved logic for prompt to prompt function, simplifying the main loop 2015-10-27 17:25:01 -07:00
Andrew Schwartzmeyer
ba97c075eb Don't rm -rf tools on make distclean 2015-10-27 16:32:15 -07:00
Zach Folwick
2ed6352908 Merge pull request 223 from dev/powershell-run into develop 2015-10-27 19:16:16 +00:00
Zach Folwick
77a1b97d5b Merge pull request 222 from dev/pop-location into develop 2015-10-27 19:16:04 +00:00
Zachary Folwick
2b353e0b45 deleted test1 method because it's no longer used 2015-10-27 12:07:57 -07:00
Zachary Folwick
d4640e84c4 modified the colors of the runtime shell to not look horrible 2015-10-27 11:57:21 -07:00
Zachary Folwick
01b7c28272 added pop-location tests 2015-10-27 11:20:35 -07:00
Zach Folwick
b800f028a2 Merge pull request 219 from dev/temp into develop 2015-10-27 17:27:58 +00:00
Zachary Folwick
a8215e0c73 made the shell target have a TEMP directory of /tmp 2015-10-27 10:19:48 -07:00
Andy Schwartzmeyer
ef141c1639 Merge pull request 215 from dev/build-refactor into develop 2015-10-26 23:07:44 +00:00
Andrew Schwartzmeyer
9efedc0c07 Update monad-native submodule to merge commit 2015-10-26 16:07:17 -07:00
Andrew Schwartzmeyer
b793a07b41 Add distclean-native target 2015-10-26 12:38:34 -07:00
Andrew Schwartzmeyer
9a4c774816 Fix recursive make test targets 2015-10-26 12:30:22 -07:00
Andrew Schwartzmeyer
36189b49a9 Fix make boostrap
Again
2015-10-26 12:11:16 -07:00
Andrew Schwartzmeyer
a214c46735 Repin monad-native and monad-omi-provider 2015-10-26 12:10:21 -07:00
Andrew Schwartzmeyer
23c441511f Fix PSRP OMI provider name
And add dependency on powershell-native
2015-10-26 12:09:53 -07:00
Andrew Schwartzmeyer
3f2ade8c25 Ignore clean failures 2015-10-26 12:09:47 -07:00
Andrew Schwartzmeyer
c8d1938b03 Enable native tests with make 2015-10-26 12:09:35 -07:00
Andrew Schwartzmeyer
03314f8382 Fix make distclean bootstrap 2015-10-26 12:01:01 -07:00
Andrew Schwartzmeyer
a023ce5a58 chmod -x monad-docker.sh
It has function definitions and should be sourced, not executed.
2015-10-25 22:31:38 -07:00
Andrew Schwartzmeyer
d4747c9213 Fix clean target 2015-10-25 22:31:31 -07:00
Andrew Schwartzmeyer
3fb6d65770 Remove deprecated scripts directory
Shell-in-a-box Docker container might come back in the future.
2015-10-25 22:30:10 -07:00
Andrew Schwartzmeyer
aba1eb283b Update submodules 2015-10-25 22:25:05 -07:00
Andrew Schwartzmeyer
7a0313aa4f Add note on various tracing options 2015-10-25 22:25:05 -07:00
Andrew Schwartzmeyer
da64019f00 Add more clean targets 2015-10-25 22:25:05 -07:00
Andrew Schwartzmeyer
587dda00e8 Add PSRP and OMI building
Removed OMI test targets as they can be run directly from the OMI
folder, and there is a separate Jenkins job that does so.
2015-10-25 22:20:37 -07:00
Andrew Schwartzmeyer
bb577c8898 Fix IsHardLink() unit tests
Our API as written says a file with no other links to it is not a
hardlink, and a file with multiple links to it is a hardlink. Corrected
one test and added an additional.
2015-10-25 22:20:37 -07:00
Andrew Schwartzmeyer
986740295f Add monad-build submodule 2015-10-25 22:20:37 -07:00
Andrew Schwartzmeyer
3a9e979e8f Add Pester tests 2015-10-25 22:20:37 -07:00
Andrew Schwartzmeyer
4a11135994 Note that hashbang needs to be fixed 2015-10-25 20:51:16 -07:00
Andrew Schwartzmeyer
a3aa2f56a0 Export POWERSHELL_SIMPLE variable 2015-10-25 20:46:31 -07:00
Andrew Schwartzmeyer
3ca864660b Update library names
- libps to libpsnative
- ps_test to PowerShell.Linux.Test
2015-10-25 20:38:39 -07:00
Andrew Schwartzmeyer
16a2ae2fa8 Start build refactor with top-level Makefile
- Recursively calls make in monad-linux and monad-build
- Eventually will deprecate scripts dir
- Makes monad-docker.sh shareable
2015-10-25 20:37:36 -07:00