Commit graph

59 commits

Author SHA1 Message Date
Bryan
c727c513dc Native fixes
project.json cleanup

Cleanup and Code Review Feedback
2016-01-23 13:01:36 -08:00
piotrp
c8a11ce63c Remove --no-cache from scripts
--no-cache is not supported by NuGet v3
2016-01-23 09:53:51 -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
PiotrP
36f69060d1 Set 1.0.0 version numbers 2016-01-19 19:06:41 -08:00
Andrew Stanton-Nurse
3d493f7d9d switch from DNX to cross-plat NuGet! 2016-01-19 11:43:09 -08:00
Sridhar Periyasamy
f2ac0d341b Merge pull request #836 from Sridhar-MS/msi-upgrade
Enable build-to-build major upgrades for MSI.
2016-01-14 11:36:03 -08:00
Andrew Stanton-Nurse
845f2c56e6 let RID detection do its thing
also:
* fix up pjvalidate to handle versionless deps
* fix up package-command-test
2016-01-14 09:06:13 -08:00
Sridhar Periyasamy
1308e27a74 Enable build-to-build major upgrades for MSI.
Encode the CLI version into MSI supported ProductVersion documented here -
https://msdn.microsoft.com/en-us/library/windows/desktop/aa370859(v=vs.85).aspx
Example: CLI Version - 1.0.0.000930 is encoded in MSI as 4.0.930

Prevent downgrading by failing installation with error message.
Also display the original CLI version in the ProductName.
2016-01-13 15:48:45 -08:00
Livar
2417f50f8d Merge pull request #818 from livarcocc/file_descriptor_limit
Fixes the file descriptor issue during restore on OSX
2016-01-13 15:05:52 -08:00
Livar Cunha
9994b6b8dd Increases the number of file descriptors available to the process in order to hit a issue when doing restore where we were running out of file descriptors during the build. 2016-01-13 13:40:25 -08:00
Bryan
7011f9e604 update everything to DOTNET_CLI_VERSION
Some package_tool fixes
2016-01-13 02:22:53 -08:00
Krzysztof Wicher
f88c9a88f2 use commit count as revision number 2016-01-13 02:22:48 -08:00
Bryan
797e436547 Package Tool Changes to support versioning changes.
1. Support CONFLICTS in debian packages
2. Associated Build Changes
3. Better cmd line option support in package_tool
2016-01-13 02:22:47 -08:00
Livar Cunha
7dc2fa20a5 Adding an explicit exit 0 when NoPackage is used so that VSO knows it succeeded.
Also added a package.cmd to be used by VSO as well.
2016-01-12 14:29:00 -08:00
piotrp
5cd64066c4 Packaged Commands 2016-01-09 16:50:31 -08:00
Sridhar Periyasamy
08f960b03d Address PR feedback. 2016-01-08 11:28:38 -08:00
Sridhar Periyasamy
3c53e26d59 Merge branch 'centos-docker' of https://github.com/sridhar-ms/cli into centos-docker
Conflicts:
	scripts/build/build.ps1
2016-01-08 11:28:22 -08:00
Sridhar Periyasamy
7fe96d56c3 Merge branch 'master' of https://github.com/dotnet/cli into centos-docker
Conflicts:
	scripts/build/build.sh
2016-01-08 10:59:31 -08:00
Sridhar Periyasamy
6128373f0b Separate building and packaging scripts for Windows
Add 'nopackage' option similar to unix scripts
2016-01-08 10:45:20 -08:00
Andrew Stanton-Nurse
f4df12f2e2 add proper RID detection based on PlatformAbstractions 2016-01-08 10:07:58 -08:00
Sridhar Periyasamy
5155aa61d7 Enable docker support for centos builds
- Added an option '--buildindocker <osname>' to build.sh
- Fixed bug which caused packaging to be skipped by default.
- Fixed bug which caused tarballs to be generated twice.
- Fixed bug to propagate build params(like debug, nopackage) to docker build.
2016-01-07 18:50:00 -08:00
Krzysztof Wicher
4d455ad230 fix producing nuget packages during the build 2016-01-06 17:27:44 -08:00
Sridhar Periyasamy
2ebb28819e Enable running tests for CentOS
CentOS tests were blocked due to issue https://github.com/dotnet/corefx/issues/5066.
It has been fixed with the latest NetStandardLibrary, hence upgrading from 1.0.0-rc2-23616 to 1.0.0-rc2-23704.
With this fix the native shims are correctly restored by dnx for RID centos.7-x64.
2016-01-05 18:11:38 -08:00
piotrp
9071d1f40f --quiet flag 2016-01-05 01:42:16 -08:00
piotrp
b980f061d5 Allow NuGet cache for non-CI builds 2016-01-05 00:37:23 -08:00
Piotr Puszkiewicz
9df40f9c01 prevent sourced files from leaking unintended state to callers 2015-12-29 12:40:39 -08:00
Piotr Puszkiewicz
e91db7dce1 Eliminate dead code and most relative paths 2015-12-29 02:34:10 -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
Piotr Puszkiewicz
d1a257bff7 Merge pull request #625 from cdmihai/buildCommandWithSafetyChecks
Introduce --build-profile flag and precondition checking in the Build command
2015-12-28 10:46:27 -08:00
Enrico Sada
d52bc92155 add command dotnet-compile-fsc
used with "compilerName": "fsc" in project.json
2015-12-24 11:26:09 +01:00
Mihai Codoban
110b30ccdc Extract build from compile
Build becomes the new compile. It decides which project to compile and how. It checks for incremental preconditions
Compile's resonsibility is trimmed down to only knowing how to invoke the compiler on a project
2015-12-23 17:31:47 -08:00
piotrp
568eb3aae7 dotnet-init --> dotnet new
Fixes issue #374
2015-12-08 10:37:31 -08:00
Piotr Puszkiewicz
9fb5da0aee Merge pull request #347 from dotnet/anurse/157-publish-tidy-up
avoid dropping deps file when publishing
2015-12-02 00:45:56 -08:00
piotrp
407c933480 add dotnet-test 2015-11-30 17:28:03 -08:00
Andrew Stanton-Nurse
462bbb4f5b remove scripts to clean deps files 2015-11-30 12:49:29 -08:00
Gaurav Khanna
2d81eced8c 1) Adding support to invoke CLang/Linker for Mac
2) Expecting AppDep native libs to be under <AppDepRoot>\CPPSdk\<OS>\x64 folder instead of <AppDepRoot>
Update the references to Microsoft.DotNet.ILCompiler and Microsoft.DotNet.AppDep packages with Mac CPPCodegen support.
2015-11-25 07:40:10 -08:00
Krzysztof Wicher
1eee5114a4 fix build showing success on failing project 2015-11-23 19:43:02 -08:00
Krzysztof Wicher
6a655af41a add dotnet-init to linux build script 2015-11-19 15:01:47 -08:00
Livar
b3b2ee737f Merge pull request #243 from livarcocc/native_fixes
Fixes for dotnet compile --native.
2015-11-19 12:26:54 -08:00
Geoff Norton
bd2414dbdf [osx] Fix permissions on place-binary.sh, and fix REPOROOT 2015-11-19 13:09:28 +09:00
Livar Cunha
d0100335da Changing native out flag to output flag to match compiler. Also changing the rsp file spliting to handle both /r/n and /r
Fixing the input path to the native compiler. It was adding /native to it before.

Switching compile native to System.CommandLine for args parsing and removing quotes from -native.rsp.

Fixing build_appdeps.cmd: Removed the * from __ApPDepSDK as xcopy does not honor that. In order to stay independent of the version of appDep, we CD into the appDepSDK and then navigate to the first folder we find, which should always be one, as we clear the folder before restoring appDep, after that we xcopy
2015-11-18 17:03:28 -08:00
Andrew Stanton-Nurse
04624ff5d1 add script executor
also added a postcompile script to each project to place the outputs in the right folder

fixes #237
2015-11-18 14:28:07 -08:00
Bryan
1455d9151d Don't copy Appdeps on mac. Bump appdep package version number 2015-11-18 01:53:05 -08:00
Bryan
8768b873bd Fix Windows AppDep, bump ILCompiler Version to fix cache issue 2015-11-18 01:19:06 -08:00
Bryan
ebe108c69b AppDeps Copy Script fix dotnet invocation 2015-11-18 00:28:50 -08:00
Bryan
d0c07c64b9 Set additional env variables for appdeps build 2015-11-18 00:09:07 -08:00
Bryan
cb22daf9cb Merge branch 'dotnet-compile-natives' of https://github.com/brthor/cli into dotnet-compile-natives 2015-11-17 23:54:43 -08:00
Bryan
ad56a28c56 Fix Appdeps scripts 2015-11-17 23:42:27 -08:00
Bryan Thornbury
35b0258f6c Make Appdeps executable 2015-11-17 23:04:24 -08:00