Andy Schwartzmeyer
3f00751159
Merge pull request #792 from PowerShell/andschwa/assembly-load
...
Try Assembly.Load correctly
2016-04-08 21:41:29 -07:00
Andrew Schwartzmeyer
839014b599
Try Assembly.Load correctly
...
This should resolve #791 .
Instead of checking if `Assembly.Load` returned null (it doesn't), check
if it threw `FileNotFoundException`, which it will if it doesn't find
the assembly.
2016-04-08 19:09:38 -07:00
Andy Schwartzmeyer
80b15f64e2
Merge pull request #789 from PowerShell/andschwa/host-module
...
Fix accidental mapping change
2016-04-08 18:39:36 -07:00
Andrew Schwartzmeyer
733cda385d
Fix accidental mapping change
...
Happened in programmatic update commit bfaad3f05
.
2016-04-08 18:09:09 -07:00
Andy Schwartzmeyer
a69ed31baf
Merge pull request #788 from PowerShell/andschwa/publish
...
Add Publish support to Start-PSbuild
2016-04-08 16:38:45 -07:00
Andrew Schwartzmeyer
ac157568d6
Publish on AppVeyor
...
So that the artifacts for Core PowerShell have the .NET Core
dependencies.
2016-04-08 16:25:53 -07:00
Andrew Schwartzmeyer
d7233fc4d0
Remove import of Platform module from AppVeyor
2016-04-08 16:25:53 -07:00
Andrew Schwartzmeyer
92a34cba5f
Add Publish switch to Start-PSBuild
...
Note that it is mutually exclusive with `FullCLR` as libraries are not
publishable; only applications can be published.
2016-04-08 16:25:53 -07:00
Andrew Schwartzmeyer
f5a95a6ef5
Remove unsupported -Clean switch
...
Will put back when it is functional.
2016-04-08 16:25:53 -07:00
Andy Schwartzmeyer
a6a6ac7c36
Merge pull request #787 from PowerShell/andschwa/platform-module
...
Remove Microsoft.PowerShell.Platform
2016-04-08 16:07:38 -07:00
Andy Schwartzmeyer
3582bb4216
Merge pull request #786 from PowerShell/andschwa/remove-aliases
...
Fix aliases
2016-04-08 16:07:25 -07:00
Andrew Schwartzmeyer
73fe95feb8
Add tests for removal of aliases
2016-04-08 15:52:37 -07:00
Andrew Schwartzmeyer
b3521944ec
Fix Pester test
2016-04-08 15:23:38 -07:00
Andrew Schwartzmeyer
8c7174de10
Fix xUnit tests
2016-04-08 15:22:37 -07:00
Andrew Schwartzmeyer
13e0760e16
Fix build module for removal of Platform module
2016-04-08 15:13:50 -07:00
Andrew Schwartzmeyer
bcdad12c04
Fix tests for removal of Platform module
2016-04-08 15:13:01 -07:00
Andrew Schwartzmeyer
fffaf4cfe2
Remove Platform module
2016-04-08 15:11:33 -07:00
Andrew Schwartzmeyer
822244d261
Fix properties
...
Static but not const, go figure.
2016-04-08 15:08:16 -07:00
Andrew Schwartzmeyer
a082a02e6c
Add PowerShell variables corresponding to platform
...
This deprecates the Microsoft.PowerShell.Platform module and ensure that
IsLinux/OSX/Windows/Core variables are defined all throughout PowerShell.
2016-04-08 15:04:27 -07:00
Andrew Schwartzmeyer
49066d212a
Replace IsX method with IsCore property
2016-04-08 15:04:16 -07:00
Andrew Schwartzmeyer
f5410a18ce
Replace IsWindows method with property
...
And add *correct* IsLinux and IsOSX properties.
2016-04-08 14:54:41 -07:00
Andrew Schwartzmeyer
6f2110f38a
Replace use of IsLinux with IsWindows
...
So that IsLinux can stop being overloading for OS X.
2016-04-08 14:50:37 -07:00
Andrew Schwartzmeyer
5b3840f753
Deploy Platform module on all flavors
2016-04-08 13:38:08 -07:00
Andrew Schwartzmeyer
2bd274f5d7
Fix tests broken by removal of aliases
2016-04-08 13:36:54 -07:00
Andrew Schwartzmeyer
47a8ee5bcf
Remove A:...Z: drive functions on Linux / OS X
...
Resolves #612 .
2016-04-08 12:50:53 -07:00
Andrew Schwartzmeyer
7d9f439666
Remove conflicting aliases for Linux and OS X
...
The aliases which conflict with Linux native commands were consolidated
and removed with the pre-processor definition `LINUX`. Additionally,
several "conflicts" are purposefully kept and likewise consolidated.
They are kept because Bash itself stomps on the native commands with its
own built-ins, and so we're adopting the same behavior.
The `clear` and `more` aliases are edge cases where the functions they
call are already fixed for Linux, and so we keep these too.
Resolves #567 .
2016-04-08 12:50:47 -07:00
Andy Schwartzmeyer
d260131f4b
Merge pull request #783 from PowerShell/andschwa/rename-host
...
Rename Host to CoreConsoleHost
2016-04-08 12:10:14 -07:00
Andrew Schwartzmeyer
9288df09a1
Rename CoreConsoleHost host.cs Name
...
Fully resolve #713 .
2016-04-08 11:00:52 -07:00
Andrew Schwartzmeyer
bfaad3f057
Programmatic update of core console host rename
2016-04-08 10:59:41 -07:00
Andrew Schwartzmeyer
5abda1c223
Rename Host to CoreConsoleHost
...
To resolve part of #713 .
2016-04-08 10:57:57 -07:00
Andy Schwartzmeyer
a5966a8618
Merge pull request #775 from PowerShell/UnitTest_Temp
...
Add Unit Tests for GetDateTest.cs and StartSleepTest.cs
2016-04-07 21:03:00 -07:00
Andy Schwartzmeyer
d58774b5a6
Merge pull request #778 from PowerShell/ExportAliasPesterUnitTest
...
Add Export-Alias Pester Unit Test
2016-04-07 21:01:56 -07:00
Andy Schwartzmeyer
6503f74bdd
Merge pull request #780 from PowerShell/andschwa/deprecate-build.sh
...
Deprecate build.sh script
2016-04-07 21:01:01 -07:00
Andy Schwartzmeyer
2adc0d1fcd
Merge pull request #779 from PowerShell/andschwa/git-docs
...
Small updates around Git documenatation
2016-04-07 21:00:39 -07:00
TingLiu6
757724abf5
fix the issue of review
2016-04-07 20:27:04 -07:00
JumpingYang001
108bcbf860
Update comments for Export-Alias Pester unit test
2016-04-07 19:51:28 -07:00
Andrew Schwartzmeyer
bc7030dae0
Deprecate build.sh script
...
If `powershell` is installed, run `Start-PSBuild` to ensure DWIM. Else,
direct user to Linux / OS X build documentation.
Resolves #767 .
2016-04-07 14:19:35 -07:00
Andrew Schwartzmeyer
e97ccc1c5f
Refer to contributing guidelines in building documentation
...
For #771 .
2016-04-07 13:56:20 -07:00
Andrew Schwartzmeyer
d7f60447ec
Quick markdown cleanups
2016-04-07 13:56:20 -07:00
Andrew Schwartzmeyer
4960e6e39c
Refactor submodule documentation
...
Moved notes on submodules out of contributing guidelines and into
`docs/git/submodules.md` as most developers will touch them infrequently
now.
2016-04-07 13:56:20 -07:00
James Truher [MSFT]
62ebca1281
Merge pull request #774 from PowerShell/AliasPesterUnitTest
...
Add New-Alias Pester and update Set-Alias Pester test
2016-04-07 13:10:53 -07:00
TingLiu6
63f8782d05
Improve Unit Test for Get-Date
2016-04-07 00:15:50 -07:00
JumpingYang001
04f3936b6b
Add Export-Alias Pester Unit Test
2016-04-06 23:17:43 -07:00
JumpingYang001
c4421eaa30
Update Skip bug 777 for New-Alias Pester unit test
2016-04-06 19:57:05 -07:00
Sergei Vorobev
b7be84a0b0
Merge remote-tracking branch 'origin/source-depot'
2016-04-06 12:04:08 -07:00
PowerShell Team
78a18c3f70
Revert "Update files from psl-monad"
...
This reverts commit 9ed2c2a68b
.
This commit is here to make source-depot branch a parent of master
2016-04-06 12:03:50 -07:00
PowerShell Team
ef9ece38c2
Update files from psl-monad
...
This commit uses psl-monad branch source-depot 1ef187f49
And corresponds to [SD:693793]
2016-04-06 11:58:20 -07:00
PowerShell Team
9ed2c2a68b
Update files from psl-monad
...
This commit uses psl-monad branch source-depot 28156300
And corresponds to [SD:692351]
2016-04-06 11:55:18 -07:00
Sergei Vorobev
95f03af790
Merge pull request #772 from PowerShell/vors/docs
...
Add workflow docs and links to them
2016-04-06 11:39:14 -07:00
Sergei Vorobev
1560809147
Update mapping.md
...
Add a note to use source-depot branch for initial adding [skip ci]
2016-04-06 11:37:39 -07:00