Commit graph

2563 commits

Author SHA1 Message Date
Sergei Vorobev 94e3be208a Update resources.md doc, partialy fix #746 2016-06-15 10:34:10 -07:00
Sergei Vorobev d92620dcf3 Move resgen artifacts from submodules into src subfolders
Submodule adds unnessesary complexity.
This commit removes dependency on pre-generated C# bindings.
Start-PsBuild -ResGen will call Start-ResGen.
It also has auto-detect logic to simplify first time expirience.
2016-06-15 10:34:10 -07:00
James Truher [MSFT] 209a30da00 Merge pull request #1098 from PowerShell/GetMemberCommandTest
Add Get-Member Pester Test and fix merged to master broken
2016-06-15 10:20:55 -07:00
Sergei Vorobev c7af71ed0e Merge pull request #1107 from PowerShell/andschwa/exclude-files
Remove CORECLR guards
2016-06-14 22:00:27 -07:00
JumpingYang001 719c9fd5f3 Update fix for Get-Member Pester Test 2016-06-14 21:27:48 -07:00
Dongbo Wang 56bd5dea4b Merge pull request #1108 from PowerShell/dongbow/build-localaccounts
Dongbow/build localaccounts
2016-06-14 20:29:08 -07:00
JumpingYang001 bd61c5e88d Add Get-Member Pester Test and fix merged to master broken 2016-06-14 19:51:41 -07:00
Dongbo Wang cae7b925a1 Bump windows-build submodule version for LocalAccounts 2016-06-14 17:04:58 -07:00
PowerShell Team 802630c261 Add source files for Microsoft.PowerShell.LocalAccounts [SD:709776]
Commit 15b1623
2016-06-14 17:02:50 -07:00
Dongbo Wang 1829beb917 Fix map.json for LocalAccounts 2016-06-14 16:59:38 -07:00
Dongbo Wang d33cb11439 Update project.json files to build Microsoft.PowerShell.LocalAccounts 2016-06-14 16:56:05 -07:00
Dongbo Wang e64773d446 Add map.json for LocalAccounts 2016-06-14 16:55:46 -07:00
Dongbo Wang 69769cede7 Fix build.psm1 to account for LocalAccount dll 2016-06-14 16:53:30 -07:00
Andy Schwartzmeyer 76e9b74418 Update unavailable cmdlets
These cmdlets were made available in b9bf32d96.
2016-06-14 16:26:40 -07:00
Andrew Schwartzmeyer d16cfbd04f Work-around dotnet bug
The include must be duplicated because the root `buildOptions` is not
being applied "whenever compiling the project."
2016-06-14 16:21:36 -07:00
Andrew Schwartzmeyer 01f1c5348d Exclude FullCLR files from CoreCLR build 2016-06-14 16:21:17 -07:00
Andrew Schwartzmeyer 047525aa9d Revert unnecessary changes 2016-06-14 16:21:17 -07:00
Andrew Schwartzmeyer 69ce0e7107 Revert CORECLR guard from FullCLR files
This reverts the `if !CORECLR ... #endif` guard surrounding FullCLR
files by applying the original diff from the `source-depot` branch, thus
the accidentally overwritten BOMs were restored as well.
2016-06-14 16:06:48 -07:00
James Truher [MSFT] ed590b95e7 Merge pull request #1097 from PowerShell/CompareObjectPesterTest
Fix merge to master broken for Compare-Object Pester Test
2016-06-14 15:06:16 -07:00
Andy Schwartzmeyer 63e13d9686 Merge pull request #1106 from PowerShell/andschwa/pin-dotnet
Pin .NET CLI to LKG version 1.0.0-preview2-003067
2016-06-14 14:03:11 -07:00
Andrew Schwartzmeyer a184876b0a Pin .NET CLI to LKG version 1.0.0-preview2-003067
Also teach `Start-PSBootstrap` the parameters `Channel` and `Version` to
pass to .NET CLI's obtain scripts.
2016-06-14 13:33:19 -07:00
Sergei Vorobev a03b8464f5 Change native powershell.exe from x86 to x64 2016-06-14 12:27:28 -07:00
Sergei Vorobev 4b51bbb976 Fix Start-ResGen to produce windows line-ends all the time 2016-06-14 12:18:30 -07:00
Sergei Vorobev 5763ad458d Merge pull request #1102 from PowerShell/vors/map
Add some intelligence to Copy-MappedFiles
2016-06-14 09:57:58 -07:00
Sergei Vorobev 029086e27c Add some intelligence to Copy-MappedFiles 2016-06-13 18:50:15 -07:00
Sergei Vorobev 41ebec2ef1 Merge pull request #1101 from PowerShell/vors/map
Enhance mappings story
2016-06-13 18:14:05 -07:00
Sergei Vorobev 21f4c46f3e Update documentation about mapping.md 2016-06-13 17:56:56 -07:00
Sergei Vorobev 85e2ecd504 Add new map.json files 2016-06-13 17:39:11 -07:00
Sergei Vorobev f3ab8b3f57 Enhance mappings story
- Split mappings.json into mappings.json for every project (folder under
  src)
- Throw away src\monad prefix, now it's not relevant
- Remove New-MappingsFile
- Rename Copy-SubmoduleFiles to Copy-MappedFiles
- Make Copy-MappedFiles flexible about set of mappings.json that it
  uses
2016-06-13 17:37:24 -07:00
James Truher [MSFT] d8245cee02 Merge pull request #988 from PowerShell/DisplayXMLPesterTest
Add DisplayXMLTest to Pester Unit Test
2016-06-13 12:29:32 -07:00
JumpingYang001 4005348f45 Update fixes based on James comments for DisplayXML Pester Test 2016-06-11 23:11:53 -07:00
JumpingYang001 1d6ab11ea8 Update fix based on comment for DisplayXML Pester Test 2016-06-11 23:11:53 -07:00
JumpingYang001 0dc339f579 Update Format-Custom Tree object Pester Test 2016-06-11 23:11:53 -07:00
JumpingYang001 1504f9b64f Add Format-Custom Tree object Pester Test 2016-06-11 23:11:53 -07:00
JumpingYang001 dd3ee79c89 Fix OSX fail for DisplayXML Pester Test 2016-06-11 23:11:53 -07:00
JumpingYang001 c87dac7ba0 Add DisplayXMLTest to Pester Unit Test 2016-06-11 23:11:53 -07:00
JumpingYang001 0514f6a8d0 Add Compare-Object Pester Test and fix merge to master broken 2016-06-11 22:53:01 -07:00
Sergei Vorobev 58425bbcc0 Merge pull request #1093 from PowerShell/andschwa/project-model-update
Rename compilationOptions to buildOptions in project.json files; Remove NOETW
2016-06-10 16:34:25 -07:00
Andrew Schwartzmeyer c9c20988c3 Update building documentations for Linux and OS X 2016-06-10 16:12:01 -07:00
Andrew Schwartzmeyer 896129652c Force link openssl on OS X 2016-06-10 16:12:01 -07:00
Andrew Schwartzmeyer 11d2c2c6e7 Update Start-PSBootstrap to use .NET CLI's scripts
Linux and OS X no longer install packages, instead they download the
1.0.0 uninstall and install scripts provided by .NET CLI, uninstall all
existing `dotnet` packages, and "install" the latest 1.0.0 preview2
version of `dotnet` to `~/.dotnet`, which `Start-PSBuild` automatically
picks up.

Additionally, `Start-PSBootstrap` only attempts to install dependencies
when it detects that it is on Ubuntu 14.04, otherwise it warns that
dependencies must be installed manually, and still installs `dotnet` via
their obtain script. This makes `Start-PSBootstrap` safe to run on
Debian, and usable on CentOS.
2016-06-10 16:12:01 -07:00
Andrew Schwartzmeyer 2639f2a8ae Use include key in copyToOutput and publishOptions
While the schema says that a `string[]` will be picked up as if `{
"include" : [ ... ] }` was used, it does not. This is a .NET CLI bug.
2016-06-10 13:00:33 -07:00
Andrew Schwartzmeyer 9b2be207f7 Don't attempt to publish any profiles
PowerShell does not ship with any default profiles.
2016-06-10 12:44:18 -07:00
Andrew Schwartzmeyer 44f3fb1211 Update content to copyToOutput and publishOptions
These must be duplicated as we require the same files for both `build`
and `publish`. This is the requirement of the new schema, as `content`
was split.

Note that while each key can take an object, if given just a `string[]`
as we do here, it defaults to `include`.

See the new schema: https://github.com/aspnet/Announcements/issues/175
2016-06-10 12:41:26 -07:00
Andrew Schwartzmeyer 1a1de1d4a0 Remove unnecessary LINUX configuration from Commands.Utility 2016-06-10 11:52:35 -07:00
Andrew Schwartzmeyer e61d698bbc Remove NOETW in favor of LINUX
ETW is available on Windows, so this is only (and will always be)
necessary for Linux.
2016-06-10 11:49:40 -07:00
Andrew Schwartzmeyer 80aceb7a8a Move compile data to build options 2016-06-10 11:15:37 -07:00
Andrew Schwartzmeyer e3056303aa Rename compilationOptions to buildOptions in project.json files
This resolves #928. This is a breaking change in that you *must* be
running a recent version of .NET CLI.
2016-06-10 11:03:56 -07:00
Sergei Vorobev ebd28ec665 Merge pull request #1091 from PowerShell/vors/xunit
Re-enable xunit tests
2016-06-10 10:31:59 -07:00
Sergei Vorobev 88ac6d0b2d Temporarely skip 1 failing test 2016-06-10 17:03:49 +00:00