Commit graph

524 commits

Author SHA1 Message Date
Eric Mellino
edbbc64b03 Fill out pkg installer targets
This causes three pkg files to be produced:

* A component pkg for the shared framework.
* A component pkg for the shared host.
* A product archive which includes the above two components.

The product archive also needs a distribution.xml file which contains
metadata about the package (name, title, images, etc.).

The installer for the "SDK" itself is still using logic implemented in
package-osx.sh. We should move this logic into the build target as well,
but we may want to wait until the CLI is using the shared framework to do so.
2016-03-10 10:31:45 -08:00
Matt Ellis
4df5ed39d5 Crossgen Shared Framework managed assemblies
- Use Crossgen's Ready To Run mode on all of the managed assemblies
  that make up the shared framework.
- Upgrade the version of the shared framework to match what is used
  in the rest of CLI (see the comment in SharedFrameworkTargets.cs to
  understand why this is needed).
- Remove the IL mscorlib.dll image, since the Crossgen'd image is
  already published.

Fixes dotnet/corefx#6753
2016-03-10 04:38:15 -08:00
Matt Ellis
56e5a99c54 Add Shared Host Debian Package 2016-03-10 03:42:45 -08:00
Matt Ellis
696f4dc167 Add Shared Framework debian packaging 2016-03-10 03:42:45 -08:00
Matt Ellis
5cf35e4f38 Use explicit object directory for sdk deb pacakge
As we add more deb packages, we should keep everything tidy by given
each one it's on individual object root.
2016-03-10 03:42:43 -08:00
Matt Ellis
7e7995274a Add stub targets for shared framework and host 2016-03-10 03:37:43 -08:00
Matt Ellis
92e520bf7c Generate tars for SharedHost and SharedFramework 2016-03-10 03:37:43 -08:00
Matt Ellis
92edb36e5b Generate zips for SharedHost and SharedFramework 2016-03-10 03:37:42 -08:00
Matt Ellis
e6bcfee4a4 Add SharedFramework MSI Authoring 2016-03-10 03:37:41 -08:00
Matt Ellis
04d21e6693 Add Shared Host MSI Authoring
Ideally in the project.json for the shared host we would just list the
actual package that holds the shared host, instead of all of
NetStandard.Library, but doing some leads to compliation errors, since
publish wants to include a compile step that has a generated
AssemblyAttributes file which references types like System.String.
2016-03-10 03:37:41 -08:00
Matt Ellis
29bc612565 Refactor SDK Build Steps
Prefix the SDK build stuff with "Sdk" to make it easier to add other
sorts of packages (e.g. the shared host and the shared framework).
2016-03-10 03:37:40 -08:00
Sridhar Periyasamy
88c1340f6d Merge pull request #1782 from jeremymeng/debian
Add support for building dotnet/cli on Debian.
2016-03-09 17:30:44 -08:00
Sridhar Periyasamy
c85cf24677 Fix docker build breaks in centos. 2016-03-09 17:28:22 -08:00
Sridhar Periyasamy
02b2c75f50 Fix to publish artifacts when running inside docker. 2016-03-09 17:14:53 -08:00
Sridhar Periyasamy
56b1b829cf Fix centos build break when building using Docker
`glibc-devel` to enable corehost compliation.
2016-03-09 15:51:57 -08:00
Jeremy Meng
33ae98b48c Address CR feedback.
Add Debian to IsPlatform() method.
2016-03-09 23:35:21 +00:00
Jeremy Meng
ee4bbb43ff Add support for building dotnet CLI on Debian. 2016-03-09 23:05:02 +00:00
Sridhar Periyasamy
53dd5f4a23 Address more PR feedback
- Add libssl-dev dependency to DockerFile, because the package upgrade test still depend on this. It can be removed once a newer package without libssl-dev dependency is uploaded.
- Check pre-reqs in the package script.
2016-03-09 20:15:06 +00:00
Sridhar Periyasamy
1737fa8cbc Fix debian package tests 2016-03-09 18:55:26 +00:00
Sridhar Periyasamy
b99e40bfab Address PR feedback and remove Azure CLI from dockerfiles
We no longer need Azure CLI since publish is now via C#.
2016-03-08 18:46:54 -08:00
Sridhar Periyasamy
3edcab8eab Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into build-refactor1
Conflicts:
	scripts/Microsoft.DotNet.Cli.Build.Framework/CurrentPlatform.cs
	scripts/Microsoft.DotNet.Cli.Build.Framework/Enumerations/BuildPlatform.cs
2016-03-08 23:42:15 +00:00
Sridhar Periyasamy
015bda2137 Debian package and publish changes
- Use parameters instead of env vars to create debian packages.
- Target to publish the deb package to the debian repo.
2016-03-08 23:33:18 +00:00
Sridhar Periyasamy
ae041c8f61 Address some PR feedback.
- Make the MSI scripts to use parameters instead of environment variables.
2016-03-08 23:31:14 +00:00
Andrew Stanton-Nurse
7cc90d9ad1 Update dotnet-build to produce portable layout
dotnet-build will produce a deps file for portable builds, and will now
create "runnable" outputs for RID-less targets

the outputs won't actually be runnable today because we need corehost
changes and to generate a deps.json file for corehost to use.
2016-03-08 11:46:15 -08:00
Sridhar Periyasamy
c4cb1f2d53 Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into rhel
Conflicts:
	TestAssets/TestProjects/OutputStandardOutputAndError/project.json
2016-03-07 19:30:35 -05:00
Bryan Thornbury
e56cf84e43 Merge pull request #1691 from dotnet/brthor/fix-1689
Fix function error not found
2016-03-07 14:49:22 -08:00
Sridhar Periyasamy
d4a3190bfc Refactor the build scripts
- Bifurcate Package and Publish targets to enable signing.
- Move publish from bash/ps into c#.
- Create multiple targets to create MSIs and Bundles.
2016-03-07 12:20:50 -08:00
Bryan Thornbury
d7bb28dd68 Update run-build.sh 2016-03-03 17:39:04 -08:00
Eric Erhardt
6468b14e1d Move to CoreFX build rc2-23901
Update .exe's project.json Target Framework from dnxcore50 to netstandardapp1.5.
Update .dll's project.json Target Framework from dnxcore50 to netstandard1.3.

Adding workaround for DataContractSerialization to src\dotnet\project.json to fix crossgen issue.
Build 23901 has a dependency issue that doesn't allow the runtime.any.System.Private.DataContractSerialization
package to be restored. When we move to a new build of CoreFX we should take this workaround out.
2016-03-03 16:41:55 -06:00
Sridhar Periyasamy
3a4ce0a86b Add support for building dotnet CLI on RHEL. 2016-03-02 15:47:46 -08:00
Troy Dai
b63705198c Merge branch 'troy/1569' into rel/1.0.0 2016-03-02 09:31:36 -08:00
Livar
66a4554290 Merge pull request #1640 from livarcocc/update_xunit_runner
Updating tests to use the latest version of dotnet-test-xunit
2016-03-01 22:47:37 -08:00
Livar Cunha
4108920510 Updating tests to use the latest version of dotnet-test-xunit, which supports debugging from VS. Also updating our xproj files so that we can build the CLI from VS using the CLI. 2016-03-01 16:28:10 -08:00
Troy Dai
9f8906fdac Update dotnet projectmodel tests 2016-03-01 12:58:30 -08:00
Pawel Kadluczka
ab5df03700 Merge pull request #1630 from dotnet/pawelka/pinned
Do not download a pinned version of cli if it is already installed.
2016-03-01 08:41:54 -08:00
Troy Dai
7582649f88 Merge branch 'troy/add.test.wip' into rel/1.0.0 2016-02-29 22:32:19 -08:00
Troy Dai
f7e4714dc5 Integrate ProjectModel server tests 2016-02-29 20:40:04 -08:00
moozzyk
3f43386d2a Do not download a pinned version of cli if it is already installed.
Fixes #1628
2016-02-29 16:03:50 -08:00
Sridhar Periyasamy
106aa69ce1 Add '--targets' option to the build scripts which take a comma separated
list of build targets.
2016-02-29 13:05:38 -08:00
Sridhar Periyasamy
85ca7c183d Upgrade the roslyn packages to 1.3.0-beta1-20160225-02.
This version has the fix for https://github.com/dotnet/roslyn/issues/8951
2016-02-26 16:00:54 -08:00
Sridhar Periyasamy
01d2656be1 Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into cli-x86-support 2016-02-26 14:34:25 -08:00
Eric Erhardt
445b1b3adb Merge pull request #1526 from eerhardt/UpdateCI
Enable installer tests in our CI.
2016-02-25 08:59:18 -06:00
Bryan Thornbury
ca7bab6c11 Merge pull request #1504 from dotnet/brthor/build-conditional-targets
Build Conditional Targets & Coreclr/Deb Package Dependencies Check
2016-02-24 18:20:26 -08:00
Bryan Thornbury
6b2539cf94 Merge pull request #1539 from dotnet/brthor/unix_console_color
Use System.Console for colors on Unix
2016-02-24 18:18:06 -08:00
Bryan
ade5479196 Update CoreCLR & Corefx dependencies based on ldd method.
Use a hardcoded list for ubuntu and slight refactoring for cleaner targets
code.
2016-02-24 16:59:26 -08:00
Bryan Thornbury
6d8b622451 Add Conditional Target capabilities to the build scripts
Make Attribute properties immutable

PR Feedback, bugfixes

PR Feedback
2016-02-24 16:55:11 -08:00
Bryan
adc6aa7eff Fixes #832, add debian package and coreclr prereq check to the build.
PR Feedback
2016-02-24 16:55:10 -08:00
Bryan
a986a89dcc update with @stephentoub 's suggested changes 2016-02-24 10:51:36 -08:00
Pavel Krymets
89cf169a08 Fix run tests 2016-02-24 08:12:32 -08:00
Sridhar Periyasamy
834edfbc9c Add support for building Windows x86 version of dotnet CLI
- Changes to build scripts to produce Winx86 build artifacts like
  zip/installer.
- Change to run Nuget-xplat in the same process as dotnet.exe instead of
  spinning up a new 'corerun' process.
2016-02-23 18:04:49 -08:00