Sergei Vorobev
ca6bc352b4
Remove extra output from Copy-MappedFiles
2016-06-28 15:52:38 -07:00
Andy Schwartzmeyer
b294a46d2e
Merge pull request #1210 from PowerShell/andschwa/rtm
...
Update PowerShell to use .NET Core 1.0
2016-06-28 14:37:20 -07:00
Andrew Schwartzmeyer
5e3150f429
Use Start-TypeGen to generate type catalog dynamically
2016-06-28 12:57:44 -07:00
Sergei Vorobev
e647549d0d
Exclude Microsoft.WSMan.Management from the list of default snapins
...
Fix #1180
2016-06-28 12:14:18 -07:00
Raghu Shantha [MSFT]
1c5cd64251
Added ability to choose install location, issue #1135
2016-06-27 16:04:57 -07:00
Raghu Shantha [MSFT]
e8145e056d
Added Assets path to New-MSIPackage invocation
2016-06-27 11:50:14 -07:00
Raghu Shantha [MSFT]
3c9347b3bb
MSI Installer enhancements Part 1
2016-06-27 11:39:49 -07:00
Kapil Borle
999197c6a6
Add CoreCLR nuget packages
2016-06-24 17:25:56 -07:00
Sergei Vorobev
9e84f86753
Start-XamlGen: ignore all errors from msbuild for all Xaml files
2016-06-24 15:45:31 -07:00
Sergei Vorobev
0203775a8c
Redirect Xaml msbuild output into verbose
2016-06-24 15:45:31 -07:00
Sergei Vorobev
7ccb0bae95
Remove full paths from references assemlbies in XAML generation
2016-06-24 15:45:31 -07:00
Sergei Vorobev
c681acc952
Don't always use msbuild from the framework folder: causes problems with VS C++ 14 Tools
2016-06-24 15:45:31 -07:00
Sergei Vorobev
7498c20aa3
build.psm1 changes for Activities dlls
...
- Add Start-PSBuild -Clean
- Normalize $env:PATH references in .\build.psm1
- Add more logging in Resolve-Xaml for troubleshooting
- Always use msbuild from the Microsoft.NET v4.0.30319
- Rename Resolve-Xaml into Start-XamlGen for consistency with Start-TypeGen and Start-ResGen
- Disable pwrshplugin build temporarely
2016-06-24 15:45:31 -07:00
Jason Shirk (POWERSHELL)
283d596a20
Import local Pester version before running tests
2016-06-24 14:03:30 -07:00
Andrew Schwartzmeyer
f8e0c1a49e
Change preview channel to rel-1.0.0
...
Recent CLI commits have changed the channel from which to download.
2016-06-23 13:23:03 -07:00
Sergei Vorobev
b833d6b957
Make Resolve-Xaml in build.psm1 compatible with GraphicalHost
2016-06-21 18:32:21 -07:00
Dongbo Wang
12c5094a69
Update build.psm1 to use the same MSBuild checking logic
2016-06-21 16:54:57 -07:00
Dongbo Wang
8fbedbd9ad
Update build.psm1 to add Resolve-Xaml function because 'Microsoft.PowerShell.Activities' depends on .xaml files.
2016-06-21 15:19:34 -07:00
Sergei Vorobev
09238a9f1a
Merge pull request #1148 from PowerShell/vors/pwrshplugin
...
Add pwrshplugin into windows build
2016-06-20 13:43:54 -07:00
Andrew Schwartzmeyer
36d982f7f5
Detect DEB and RPM package types
...
Instead of assuming DEB for Linux.
2016-06-20 13:03:54 -07:00
Andrew Schwartzmeyer
01b1b13344
Install gcc-c++ instead of just gcc on CentOS
2016-06-20 12:16:14 -07:00
Andrew Schwartzmeyer
bedcff49f6
Use VERSION_ID instead of Version from /etc/os-release
...
They are different fields and VERSION_ID is just the number.
2016-06-20 12:13:22 -07:00
Andrew Schwartzmeyer
f3070bf28b
Install curl during bootstrap
...
Since the LLVM feed is no longer added, we do not need to update nor
require curl beforehand, nor install wget.
2016-06-20 12:12:21 -07:00
Andrew Schwartzmeyer
30dadb8dae
Use -match instead of -eq
...
Since the use of quotes in /etc/os-release is inconsistent across
distributions, we have to match instead of exactly compare.
2016-06-20 12:08:08 -07:00
Andrew Schwartzmeyer
511936606e
Add Find-Dotnet to make build module smarter
...
New function smartly adds the probable location of the .NET CLI tools to
the path if `dotnet` is not found. If it is still not found, it restores
the path. All functions using `dotnet` should call `Find-Dotnet` first.
2016-06-20 11:59:14 -07:00
Andrew Schwartzmeyer
42d1d05d85
Support CentOS 7 in build module
2016-06-20 11:39:39 -07:00
Sergei Vorobev
cfb8765a6e
Merge pull request #1140 from PowerShell/vors/typegen
...
TypeGen enhancements
2016-06-17 15:05:48 -07:00
Sergei Vorobev
e73e72484b
Fix name for pwrshplugin
2016-06-17 14:27:09 -07:00
Sergei Vorobev
d24bf35c22
Add pwrshplugin to cmake build
2016-06-17 14:09:00 -07:00
Sergei Vorobev
299d7798ce
Merge pull request #1136 from PowerShell/vors/scheduledjobs
...
PSScheduledJobs Module
2016-06-17 11:26:24 -07:00
Sergei Vorobev
b374e2fd06
Add Start-TypeGen
...
Update Microsoft.PowerShell.CoreCLR.AssemblyLoadContext\project.json
Include Crypto package for new source code
2016-06-17 11:23:29 -07:00
Sergei Vorobev
7e26425e86
Make Start-ResGen smarter: don't need to explicitly list all modules
2016-06-17 11:12:30 -07:00
Andy Schwartzmeyer
4adfe9330a
Merge pull request #1138 from PowerShell/vors/gitignore
...
Add uninstall script in .gitignore
2016-06-17 09:50:00 -07:00
Sergei Vorobev
7d9046ea05
Fix wrong heuristic to start ResGen
2016-06-17 07:51:32 -07:00
Sergei Vorobev
a64c0521a8
Ignore untracked files in Copy-MappedFiles pslMonadRoot check
2016-06-17 06:14:12 -07:00
Sergei Vorobev
2eba1d3973
Update Start-ResGen to have PSScheduledJob
2016-06-16 19:20:35 -07:00
Andrew Schwartzmeyer
b19be8c911
Fix CentOS RID in tests and build module
2016-06-16 18:39:29 -07:00
Andrew Schwartzmeyer
b8f88e75c4
Remove LLVM feed
...
The feed was switched off due to excess load.
2016-06-16 11:00:47 -07:00
Andrew Schwartzmeyer
38c2ba294a
Unpin .NET CLI package
...
Use latest until further notice.
2016-06-16 10:55:11 -07:00
Sergei Vorobev
60b6f7287d
Fix our ResGen to make LocalAccounts work
2016-06-15 20:16:38 -07:00
Sergei Vorobev
d5060bc7e3
build.psm1: Add Copy-MappedFiles -WhatIf switch
2016-06-15 19:07:49 -07:00
Andrew Schwartzmeyer
2192c31a64
Fix use of aliases in build.psm1
...
Also use git-dir to make Copy-MappedFiles location agnostic.
2016-06-15 13:56:29 -07:00
Sergei Vorobev
65acf49845
Replace aliases by full names to fix build
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
Dongbo Wang
69769cede7
Fix build.psm1 to account for LocalAccount dll
2016-06-14 16:53:30 -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
029086e27c
Add some intelligence to Copy-MappedFiles
2016-06-13 18:50:15 -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
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
Raghu Shantha [MSFT]
061cf4a6a0
Moved MSI wxs file to assets ; Renamed MSI package creation function to be compliant with PowerShell verb-noun conventions
2016-06-06 13:20:00 -07:00
Andrew Schwartzmeyer
9c7e97e325
Add Debian 8 RID
2016-06-03 09:37:59 -07:00
Raghu Shantha [MSFT]
5a8e33d756
Capture the final build version field from the complete version field
2016-06-02 12:54:04 -07:00
Raghu Shantha [MSFT]
be3a146443
Added additional logging for the appx function
2016-06-02 11:44:17 -07:00
Raghu Shantha [MSFT]
9786be0a4b
Added final version field for makeappx
2016-06-02 11:23:28 -07:00
Raghu Shantha [MSFT]
84823553cc
Add Ability to generate Appx packages
2016-06-02 10:31:02 -07:00
Andrew Schwartzmeyer
66ddfcdaff
Make git describe work relative to script
...
So that you don't have to watch your CWD when running commands from the
build module.
2016-06-01 11:15:09 -07:00
Andrew Schwartzmeyer
aa273571db
Fix and improve Start-PSxUnit
...
* Last PR had a typo in "TestAruments" which caused the configuration
not to get picked up
* Now bails appropriately if PowerShell wasn't built, instead of
rebuilding it every time
* Passes `-verbose` to the xUnit runner, not dotnet, so we can see which
test failed
2016-06-01 11:15:09 -07:00
Andrew Schwartzmeyer
4d5e7daf28
Fix Start-PSxUnit
2016-05-31 16:06:19 -07:00
Andy Schwartzmeyer
a6c04a5bd3
Redirect WIX native output to Write-Verbose
2016-05-24 15:02:24 -07:00
Andy Schwartzmeyer
b1436e991e
Remove MMI from Publish-NuGetFeed
...
This project was removed and provided as a package in the windows-build
submodule. The artifact uploading to AppVeyor fails because this was not
updated.
2016-05-24 14:57:05 -07:00
Andy Schwartzmeyer
c5a81c2e6e
Guard Remove-Item in Create-MSIPackage
2016-05-24 14:46:40 -07:00
Andy Schwartzmeyer
691618d335
Return path to built package in Start-PSBuild
...
For Windows only right now.
2016-05-24 14:46:40 -07:00
Andy Schwartzmeyer
b4ed5e2534
Call Create-MSIPackage from Start-PSBuild
2016-05-24 14:46:39 -07:00
Raghu Shantha [MSFT]
8f1a5194c5
Add MSI package creation capability
2016-05-24 14:23:38 -07:00
Sergei Vorobev
7033dc31f1
Merge pull request #1026 from PowerShell/vors/nuget
...
Adding Nuget artifacts to AppVeyor project nuget feed
2016-05-23 17:58:32 -07:00
Sergei Vorobev
53b8411111
dotnet team changed their script name, change our bootstrap
2016-05-22 01:06:34 -07:00
Sergei Vorobev
159dcee626
Add Publish-NuGetFeed function to build.psm1
2016-05-22 00:17:44 -07:00
Andrew Schwartzmeyer
29ec5f27b9
Run xUnit tests verbosely
2016-05-20 16:06:31 -07:00
James Truher [MSFT]
51d5491c54
Merge pull request #1009 from PowerShell/jimtru-psversion2
...
update PSVersionTable code to use powershell.version rather than .version…
2016-05-19 15:20:16 -07:00
Andrew Schwartzmeyer
8b6bcabdaf
Skip slow tests in Start-PSPester
...
This will skip them for Linux and OS X (which are currently slower than
AppVeyor).
2016-05-19 14:30:55 -07:00
James Truher
8583cf5e96
update PSVersionTable code to use powershell.version rather than .version because on Linux the .version file doesn't seem to be binplaced. I postulate this is because it's a hidden file
2016-05-19 13:19:16 -07:00
Jim Truher (MSFT)
777b2ec7d8
Merge remote-tracking branch 'origin/master' into jimtru-AddGitCommitToPSVersionTable
2016-05-18 17:07:39 -07:00
Andrew Schwartzmeyer
811f052ae9
Improve error message of Start-NativeExecution
2016-05-18 14:53:21 -07:00
Andrew Schwartzmeyer
fcf4b38370
Rename PowerShellGitHubDev.psm1 to build.psm1
2016-05-18 13:58:59 -07:00