Commit Graph
614 Commits
Author SHA1 Message Date
Andrew Schwartzmeyer f8bd1243b6 Clean up 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 391371e753 Enable PowerShell profiles
Added default PSL_profile.ps1 script, with rule to copy to expected
location (which is the same location of the PowerShell libraries).

Copied from Host06 example the code which loads the profile.

Made HostUtilities available to powershell.exe.
2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 751676e3a5 Small clean up 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 3812359153 Fix exception reporting 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer c3b6ff1b4e Clean up main.cs 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 8dcb769bb7 Fix xUnit tests
Moved the xUnit tests build rules to their own Makefile, included by
monad-build/Makefile.

Temporarily introduced POWERSHELL_HOST to reenable running of
xunit.console.netcore.exe until this is built-in to the native
powershell host.
2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer eb816dd147 Rename ps_test to xunit-tests 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 043016e72d Update Makefile to use powershell.exe 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer cf2a58cad9 Fix monad-build/Makefile for powershell.exe rename 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 8f9042a151 Fix host Makefile for file renames 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer a5720e9198 Remove powershell-simple from Makefile 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer d12052cdc0 Move custom host Makefile out of monad-build 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer e378bb7f7d Rename powershell-run to host
Because this is our custom host for PowerShell on Linux.
2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 2a4c01b965 Rename powershell-run to powershell
It is now the only shell.
2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 963648babe Delete powershell-simple
Deprecated for powershell-run
2015-11-04 15:09:29 -08:00
Zach Folwick f87e32d285 Merge pull request 235 from dev/convertto-csv into develop
Added test to validate ConvertTo-Csv
2015-11-04 17:17:04 +00:00
Andy Schwartzmeyer 8a7eef57b6 Merge pull request 247 from dev/isexecutable into develop
New xunit tests for domainname and isexecutable
2015-11-03 22:07:08 +00:00
George Fleming af00ffc4db adding submodules 2015-11-03 13:55:31 -08:00
George Fleming efefcad0f8 New xunit tests for domainname and isexecutable 2015-11-03 11:51:59 -08:00
Zachary Folwick e884990d61 added additional tests to ConvertTo-Csv tests 2015-11-03 11:44:51 -08:00
Andrew Schwartzmeyer 06be397283 Fix ConvertFrom-Csv failure 2015-11-02 15:26:14 -08:00
Andy Schwartzmeyer 337cfe552b Merge pull request 242 from dev/console-args into develop
made powershell work with additional argument logic
2015-11-02 23:22:55 +00:00
Zach Folwick c07a94ef24 Merge pull request 240 from dev/fix-pester into develop
Use $here to avoid 'cd $(PESTER)'
2015-11-02 23:22:04 +00:00
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 5e0982030e Merge pull request 243 from dev/submodules into develop
Repin monad (and monad-ext)
2015-11-02 23:19:13 +00:00
Andrew Schwartzmeyer 1564ebc5b5 Repin monad (and monad-ext) 2015-11-02 15:12:37 -08:00
George Fleming a7418ff660 Merge pull request 238 from dev/symlink into develop
Add tests for FQDN and SymLink
2015-11-02 23:08:27 +00:00
Zachary Folwick fe3608da57 made powershell work with additional argument logic 2015-11-02 15:04:40 -08:00
Andrew Schwartzmeyer 05f59d15b1 Untabify Json.Tests 2015-11-02 14:06:58 -08:00
Andy Schwartzmeyer 8c640e50c3 Merge pull request 241 from dev/json into develop
Add Json.NET Pester tests
2015-11-02 21:53:11 +00:00
Zach Folwick 349b4e8381 Merge pull request 229 from dev/convertfrom-csv into develop
added ConvertFrom-Csv tests
2015-11-02 21:52:14 +00:00
Zachary Folwick ccc873b45f made changes according to PR 2015-11-02 13:45:39 -08:00
Zachary Folwick 6036e09f43 Added Csv test file for Convertfrom-Csv 2015-11-02 13:45:06 -08:00
Zach Folwick ded2bc99ab Merge pull request 239 from dev/set-alias into develop
Merge dev/set-alias to develop
2015-11-02 18:48:52 +00:00
Andrew Schwartzmeyer e24f4b43a1 Update monad-native to fix Jenkins job
monad-native has a new target, `install` which places the native bits
into bin and lib folders, which here are prefixed to monad-linux.

Note that the location of native-tests.xml has changed so that the
monad-native Jenkins build can pick it up.
2015-10-30 18:53:48 -07:00
Andrew Schwartzmeyer 37d861f197 Add Json.NET Pester tests 2015-10-30 18:09:03 -07:00
Zachary Folwick cace8c5873 corrected an issue with set-alias on linux 2015-10-30 16:12:40 -07:00
Zachary Folwick 60aab90d31 added set-alias tests 2015-10-30 16:05:51 -07:00
George Fleming af52de746b Add tests for FQDN and SymLink 2015-10-30 15:30:36 -07:00
Zachary Folwick 24263a7524 Added test to validate ConvertTo-Csv 2015-10-30 14:43:48 -07: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
Zachary Folwick 84b60d6be4 added ConvertFrom-Csv tests 2015-10-29 14:55:09 -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