Commit graph

175 commits

Author SHA1 Message Date
Piotr Puszkiewicz
2db1997bc0 Merge remote-tracking branch 'refs/remotes/origin/feature/msbuild'
Conflicts:
	Microsoft.DotNet.Cli.sln
	build_projects/dotnet-cli-build/DebTargets.cs
	build_projects/dotnet-cli-build/TestTargets.cs
	scripts/package/package-debian.sh
	src/Microsoft.Extensions.DependencyModel/DependencyContextJsonReader.cs
	src/dotnet/commands/dotnet-new/Program.cs
	src/dotnet/commands/dotnet-pack/PackageGenerator.cs
	test/Microsoft.Extensions.DependencyModel.Tests/DependencyContextJsonReaderTest.cs
2016-08-16 18:30:52 -07:00
Eric Erhardt
38d18eab4d Fix dotnet-install.ps1.
Allow directories named "publish" in .gitignore.
Add files to the .sln.
2016-08-09 08:28:53 -05:00
Piotr Puszkiewicz
16692fc75c Remove CDN caching from version files 2016-08-09 02:41:12 -07:00
Michael Simons (VISUAL STUDIO)
b53e254fbd Updated Add-Type logic to account for Powershell Core Edition 2016-08-08 15:03:36 -05:00
Michael Simons (VISUAL STUDIO)
a34e93c340 Modified dotnet-install.ps1 to support Nano Server 2016-08-04 15:04:26 -05:00
Eric Erhardt
d2db776d87 Merge rel/1.0.0 into feature/msbuild. 2016-07-18 14:44:06 -05:00
Piotr Puszkiewicz
89e127b8ac Move downloads to CDN (#3873) 2016-07-15 15:36:01 -04:00
Jostein Kjønigsen
2cba2c7688 Handle missing terminal capabilities.
When probing for terminal capabilities, tput will return exit-code 1
when the attribute is not valid for the current terminal.

If we don't handle that exit-code, the shell-script too will exit with
failure.

This patch simply ignores errors for attributes we cannot use,
resulting in the same result as if we never probed for it in the first
place.
2016-07-08 10:10:20 +02:00
Eric Erhardt
ba1715b8a6 Fix dotnet-install for the new Azure Publish layout. 2016-06-22 22:46:13 -05:00
Piotr Puszkiewicz
9d01e3bc2e Merge rel/1.0.0-preview2 to rel/1.0.0 (#3677)
* Update README.md

* Moving Ubuntu 16.04 to be next to Ubuntu 14.04

* Adding Oracle Linux and Linux Mint to the titles

Adding Oracle Linux and Linux Mint to the titles next to their compatible binaries.

* Remove showing firsttime eula for non verbs.

* Add Serviceable assembly attribute and nuspec attributes for all shipping CLI assemblies.

Fix #3345

* Use NugetCache Sentinel for Telemetry setting.

* Fix Oracle Linux version in README.md

Oracle Linux 7 -> Oracle Linux 7.1

* Fix README to use hostfxr download links (#3622)

Also fix a rebase error from b524fd079e6dcdd744faeb6061ccbfe99d1f810f#diff-04c6e90faac2675aa89e2176d2eec7d8

* Remove the VS2012 CRT dependency from docs (#3632)

* fix typo in dotnet-install file

This was needed to rebuild the CLI with the updated Roslyn NuGet packages.

Thanks goes to @akoken for the fix.
2016-06-22 15:17:54 -07:00
Livar Cunha
7652335195 Addressing code review comments and adding opensuse 13.2 2016-05-31 15:15:57 -07:00
Livar Cunha
7963018d3d Small changes that I noticed when diffing the files 2016-05-31 15:15:08 -07:00
Livar Cunha
e634fedae8 Adding Fedora 23 2016-05-31 15:15:08 -07:00
Livar Cunha
84d1b60ffe Adding docker files, modifying scripts and code to handle ubuntu 16.04 2016-05-31 15:15:08 -07:00
Krzysztof Wicher
f4ceb1f213 Merge pull request #3272 from krwq/add_shared_runtime_switch
add -SharedRuntime switch support
2016-05-27 15:23:45 -07:00
Krzysztof Wicher
2a84c13817 add -SharedRuntime switch support 2016-05-27 12:19:53 -07:00
Krzysztof Wicher
5a77b03f36 add path to the front of the variable instead of the back 2016-05-23 12:48:53 -07:00
Eric Erhardt
78a70f049a Remove duplicated install scripts.
Please use `dotnet-install` instead.
2016-05-20 22:09:36 -05:00
Krzysztof Wicher
b939c88e0c remove check for gettext dependency in install.sh 2016-05-20 10:59:12 -07:00
Eric Erhardt
bf9b5a9288 Change the default channel in dotnet-install scripts to "preview". 2016-05-19 13:36:24 -05:00
Bryan
584bd3e72d Clean + fixup 2016-05-18 09:32:48 -07:00
Richard Lander
13d760c6a4 Remove .nuget dir on uninstall 2016-05-14 23:57:25 -07:00
Richard Lander
48712f9e54 Change to correct variable 2016-05-14 21:46:25 -07:00
Bryan Thornbury
b23feed7c8 debian package uninstallation script (#3027)
* debian package uninstallation script

* Script to remove/uninstall dotnet pkgs from a OSX machine.

* name change of deb uninstall script

* Address PR feedback

Changes to fail the script if the 'pkgutil --forget' command fails.
2016-05-13 20:37:20 -07:00
Bryan
f0cc32e1ee move all return statements to exit 0 2016-05-13 11:39:28 -07:00
PiotrP
d906524dec Fix install scripts to deal with content type change. 2016-05-12 10:25:49 -05:00
Sridhar Periyasamy
2d435ac880 Update the install scripts to use the preview channel.
Also the default now is the beta channel which has the latest 'preview1'
builds.
2016-05-10 15:35:10 -07:00
Krzysztof Wicher
b18df1c51c fix default INSTALL_DIR issue in dotnet-install.sh 2016-05-04 11:55:06 -07:00
Piotr Puszkiewicz
0bfd94e998 Fix install-dotnet.sh to deal with trailing newline 2016-05-02 00:52:21 -07:00
Krzysztof Wicher
11e3fa36af rename install.ps1/sh to dotnet-install.ps1/sh to match documentation 2016-04-08 10:51:16 -07:00
Andrew Stanton-Nurse
f87440a0fd Remove '.' from default Windows install dir 2016-03-25 12:19:46 -07:00
Krzysztof Wicher
217922da14 don't redownload sdk in install.sh if package already installed 2016-03-24 15:15:24 -07:00
Krzysztof Wicher
688de72eb7 detecting that sdk is already installed (install.ps1) 2016-03-24 15:15:23 -07:00
Krzysztof Wicher
bb339bf73a use template for mktemp call for portability 2016-03-21 19:16:51 -07:00
Krzysztof Wicher
b1548a9654 fix grep to work on OSX 2016-03-21 16:31:17 -07:00
Krzysztof Wicher
369796376b update package name 2016-03-21 12:46:30 -07:00
Krzysztof Wicher
fa733ab9e9 preparing install.sh for shared fx 2016-03-21 12:46:28 -07:00
Krzysztof Wicher
701731be7a improve message on -DryRun in install.ps1 2016-03-21 12:46:27 -07:00
Krzysztof Wicher
09f5bd8879 shared framework changes to install.ps1 2016-03-21 12:46:27 -07:00
Krzysztof Wicher
b7f7fc6096 Initial implementation of shared framework changes 2016-03-21 12:46:26 -07:00
Krzysztof Wicher
260eb9db8e remove most of the bashisms 2016-03-21 12:46:25 -07:00
Krzysztof Wicher
54b33bc9ea Support powershell switches in bash, unify --install-dir experience 2016-03-21 12:46:24 -07:00
Krzysztof Wicher
9360128c13 remove tar --overwrite switch as it is default and does not work on osx 2016-03-21 12:46:23 -07:00
Krzysztof Wicher
11f4dd94b9 add more logging to install.sh 2016-03-21 12:46:22 -07:00
Krzysztof Wicher
fc3d768768 more portable mktemp call 2016-03-21 12:46:21 -07:00
Krzysztof Wicher
7ecd8e8fba fix failing extracting directory to file 2016-03-21 12:46:20 -07:00
Krzysztof Wicher
8fca17e56f apply PR feedback 2016-03-21 12:46:18 -07:00
Krzysztof Wicher
138cfb4f69 fix formatting 2016-03-21 12:46:18 -07:00
Krzysztof Wicher
00abaf3b67 update install.sh 2016-03-21 12:46:16 -07:00
Krzysztof Wicher
58a5a73233 change amd64 to x64 in install.ps1 description 2016-03-21 12:45:33 -07:00
Krzysztof Wicher
987c867605 add default value descriptions and change default channel to preview 2016-03-21 12:45:32 -07:00
Krzysztof Wicher
4d165d78db Address feedback to install.ps1 2016-03-21 12:45:30 -07:00
Krzysztof Wicher
8e3992660d initial update install.ps1 according to spec 2016-03-21 12:45:29 -07:00
Piotr Puszkiewicz
2f9503641e Removes bootstrapping workarounds for Ubuntu builds 2016-03-21 10:25:11 -07:00
Piotr Puszkiewicz
04adb5ef56 bootstrap 2016-03-18 02:47:52 -07:00
Sridhar Periyasamy
4c06e3323f Update install scripts to download 'dotnet-dev' as stage0. 2016-03-17 21:45:03 -07:00
Andrew Stanton-Nurse
e2d8d6e31e make install and build scripts use new package 2016-03-16 16:16:38 -07:00
Eric Mellino
f36029d135 Fix a couple build issues on OSX/non-Windows
We were downloading the wrong 'latest version' of the CLI, and targets passed into --targets were not split correctly
2016-03-15 14:58:53 -07:00
Sridhar Periyasamy
71d71b8ddc Add RHEL and Windows x86 to CI.
- Changes in netci.groovy to delete post-merge builds. We are suign VSO
  for that.
- Also add RHEL and Windows x86 to PR CI jobs. Instead of doing 'debug'
  and 'release' for all platforms we are only selectively have a mixture
  of debug and release builds. (For ubuntu we are doing debug and release
  but that will change when we have 'Debian 8.2' support. Ubuntu:Debug
  will be replaced by Debian8.2:Debug)
- Minor change in install.sh to maintain uniformity in OS names.
2016-03-11 15:55:52 -08:00
Jeremy Meng
ee4bbb43ff Add support for building dotnet CLI on Debian. 2016-03-09 23:05:02 +00:00
Sridhar Periyasamy
3a4ce0a86b Add support for building dotnet CLI on RHEL. 2016-03-02 15:47:46 -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
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
Andrew Stanton-Nurse
d524732bbb working on build scripts 2016-02-12 15:26:35 -08:00
Andrew Stanton-Nurse
d67a0cd9bb remove all the hacks to work around broken crossgen/coreclr 2016-02-11 21:16:18 -08:00
Piotr Puszkiewicz
732f3d7abd Merge pull request #1364 from dotnet/anurse/update-to-23811
update everyone to 23811
2016-02-11 12:40:56 -08:00
Andrew Stanton-Nurse
19216b996b update crossgen scripts 2016-02-11 11:03:50 -08:00
Pranav K
ed1177a664 * Add support for specifying a version in obtain/install 2016-02-11 10:47:49 -08:00
Andrew Stanton-Nurse
236fcd8f95 update everyone to 23811
add a little hackiness to the build script to use 23811 in the stage 0 as well
2016-02-11 10:38:59 -08:00
Andrew Stanton-Nurse
7ecb46fa55 sync install script params with PowerShell a bit 2016-02-04 09:58:26 -08:00
Andrew Stanton-Nurse
066bebcc6c bootstrap using nuget instead of dnx 2016-01-26 23:25:37 -08:00
Sridhar Periyasamy
137336d0d0 Download the stage0 dotnet tools from the beta feed for unix.
Set the correct channel so that the stage0 binaries are downloaded
correctly.

** This commit cannot be directly merged from the release branch to the
master branch **
2016-01-20 19:08:00 -08:00
Sridhar Periyasamy
a8aea60f14 Download the stage0 dotnet tools from the beta feed for windows.
Set the correct channel so that the stage0 binaries are downloaded
correctly.

** This commit cannot be directly merged from the release branch to the
master branch **
2016-01-20 19:00:06 -08:00
Andrew Stanton-Nurse
3d493f7d9d switch from DNX to cross-plat NuGet! 2016-01-19 11:43:09 -08:00
Piotr Puszkiewicz
4b217db9c0 Clean up build scripts
Decompose into self-contained granular components
Provide reasonable defaults for cross cutting concerns, allowing for independent execution of steps
Start unifying Windows/Bash architecture

fix Bash CI scripts

dockerbuild.sh _common.sh path

Add missing restore-packages.sh

Copy/paste issues

Quote $SOURCE
fix .gitignore

PR Feedback

Merge in @SridarMS's work to avoid redownloading DNX

enabling build of dotnet-build

merge in @SridharMS's CentOS changes

Enable building FSC

enable restoring specific subdirectories

Fix dnx version check

Add missed dependency

Fix pathing to tests

Match Linux build version to Windows, fixing linux tests as a side effect.

workaround for coreclr#2215

fix pathing issue

disable building in docker

BUILD_IN_DOCKER was set, somehow...

fix headers
2015-12-29 01:59:02 -08:00