Commit graph

3741 commits

Author SHA1 Message Date
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
Troy Dai
94c239f74e Update ProjectContextBuilder and FrameworkReferenceResolver 2015-12-25 20:10:26 -08:00
Troy Dai
7188f5b0a3 Update Microsoft.Net.Compilers.netcore to latest available 2015-12-25 14:18:36 -08:00
Troy Dai
935cd4e281 Add ProjectModel server 2015-12-25 13:23:29 -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
Mihai Codoban
197a02807f Command knows its command resolution strategy
A command may be resolved from a nuget package, from the executing
assembly directory, or from the path.
2015-12-23 17:02:10 -08:00
Sridhar Periyasamy
3363707704 Merge branch 'master' of https://github.com/dotnet/cli into centos-builds
Conflicts:
	scripts/compile.sh
	scripts/test/smoke-test.sh
2015-12-23 16:22:59 -08:00
Piotr Puszkiewicz
6886db6b63 Merge pull request #614 from livarcocc/strong_name_signing
Strong name signing.
2015-12-23 16:17:45 -05:00
Gaurav Khanna
0b2a6fee2e Pickup headers from ILCompiler.SDK
Add support for --cppcompilerflags switch to enable passing custom native compiler arguments.
2015-12-23 08:51:20 -08:00
Senthil
504e109947 Redesign corehost per spec 2015-12-23 00:40:49 -08:00
Bryan Thornbury
4580aab2e0 pipe through subdirectory support after rebase. 2015-12-21 12:33:33 -08:00
Zlatko Knezevic
f92bbd0390 Update dotnet-publish README.md
Update the README.md for dotnet-publish and add the information about the Microsoft.NETCore.Runtime dependency.

Fixes #289

/cc @brthor @Sridhar-MS
2015-12-21 12:23:46 -08:00
Bryan
477b8737db Change name of option to --native-subdirectory, Factor for less intrusive changes 2015-12-21 12:02:02 -08:00
Bryan
bcf9392c40 Opt in support for including subdirectories from nuget depdencies in
publish output.
2015-12-21 12:00:23 -08:00
Bryan
f8d79624c0 basic subdirectory support 2015-12-21 11:55:05 -08:00
Livar Cunha
7c40de57bf Removing strong name signing from utils, as it is not compiled 2015-12-20 11:32:19 -08:00
Gaurav Khanna
155b5221af Fix bug to correctly redefine ILCSdkPath if ILCPath is overridden but ILCSDKPath is not. 2015-12-20 07:59:09 -08:00
Livar Cunha
61e9f2f2a5 Adding a key to use for strong name signing of our assemblies and modifying the project.json of our projects to include that key. 2015-12-19 17:46:22 -08:00
Gaurav Khanna
57cbc119de Add support --ilcsdkpath to allow ILCompiler to consume a custom build of ILCompiler.SDK 2015-12-19 14:05:06 -08:00
Sridhar Periyasamy
3395b43bd9 Merge pull request #508 from Sridhar-MS/publish-tests2
Dotnet publish tests
2015-12-18 15:36:29 -08:00
Bryan Thornbury
6bd2da6b05 Merge pull request #617 from krwq/nugetconfig
Add nuget.config to dotnet-new template
2015-12-18 14:45:45 -08:00
Krzysztof Wicher
4c0458233d add nuget.config to dotnet-new template 2015-12-18 12:29:42 -08:00
Pavel Krymets
f05b208ad7 Add dependency model api 2015-12-18 12:09:39 -08:00
Sridhar Periyasamy
1db27b7ae3 Enable building dotnet-CLI for centos.
I had to patch up a redhat dnx package which supports NETStandard.Library package. It is currently uploaded to dotnet-cli blob storage. This hack will no longer be required when we move to xplat nuget to do 'dotnet restore'. Apart from this there are three issues that are tracked for centos.
- compile-native not yet supported - https://github.com/dotnet/cli/issues/453
- dnu restore crashes intermittently on centos. I need to investigate this a little bit more and file issues on dnx or coreclr. This will make our CI builds very flaky.
- Dotnet restore does not restore native shims when using “centos.7-x64” - https://github.com/dotnet/corefx/issues/5066
2015-12-18 11:32:20 -08:00
Livar Cunha
9d8f529590 Handling help and error manually to prevent a call to Environment.FailFast call in System.CommandLine 2015-12-18 10:30:04 -08:00
Sridhar Periyasamy
55b9697b74 Merge branch 'master' of https://github.com/dotnet/cli into publish-tests2 2015-12-17 18:16:33 -08:00
Livar Cunha
82cdb28970 System.CommandLine uses Environment.FailFast when help or ReportError is detected. This causes the debugger to get invoked in windows and is not desirable. The fix here is to handle error and help ourselves, but still use the getHelpText from System.CommandLine to generate the help content. 2015-12-17 14:56:08 -08:00
Gaurav Khanna
6f9f6f54e1 Add Mac RyuJIT support 2015-12-17 14:01:05 -08:00
David Fowler
56530c9113 Remove verbose dependency info
- It's not needed since we have response files on disk that are easy to look at.
2015-12-17 01:00:24 -08:00
Zlatko Knezevic
ee5cb05e35 Merge pull request #517 from blackdwarf/pkgosxfix
Fix the PKG permission issue and change the install location
2015-12-16 20:15:13 -08:00
Bryan Thornbury
3fd3daa51a Merge pull request #487 from brthor/project_validator
Multi Project Validation
2015-12-16 16:47:51 -08:00
Bryan Thornbury
0f6562df77 Merge pull request #497 from brthor/upgrade_stdlib
Upgrade StdLib References to rc2-23614, Upgrade Runtime Version
2015-12-16 15:38:51 -08:00
Krzysztof Wicher
568d343de9 Merge pull request #480 from krwq/little_refact_publish
Make dotnet-publish slightly more readable
2015-12-16 13:32:31 -08:00
Bryan
3c1c747d9d rc2-23616 to hopefully resolve crossgen issues 2015-12-16 11:48:33 -08:00
Bryan
d768b2a768 Change PAL::hresult_t to int 2015-12-16 11:48:05 -08:00
Bryan
fcad2bab83 Upgrade References in Project.json files to rc2-23614 2015-12-16 11:47:55 -08:00
Pavel Krymets
caf82a96ec Add target framework attribute 2015-12-16 10:54:57 -08:00
Pavel Krymets
ce2628d527 Add support for symbol packages 2015-12-16 10:49:15 -08:00
Pavel Krymets
bb94f6046b Escape assembly info properties 2015-12-16 09:00:42 -08:00
Krzysztof Wicher
d5791bfa1c Make dotnet-publish slightly more readable 2015-12-15 23:55:56 -08:00
Zlatko Knezevic
5ef832ee94 Fix the PKG permission issue and change the install location
A temporary fix for the PKG permission issue by using chmod -R 755 in the postinstall
script. Change the install location to remove the "cli" part of the path. Also
change the corehost to reflect this change.

Fixes #492 and #390
2015-12-15 15:24:50 -08:00
Sridhar Periyasamy
53382b02c8 Fix build breaks due to automatic upgrade of Rosyln
"Microsoft.CodeAnalysis.Compilers" package. So upgrading
"Microsoft.Net.Compilers.netcore" to work with the newer verisons.
2015-12-15 12:15:24 -08:00
Sridhar Periyasamy
771b0b1eb1 Fix build break 2015-12-15 10:04:16 -08:00
Pavel Krymets
ab5b16c00c Flow project metadata to assembly 2015-12-14 16:39:31 -08:00
Cesar Blum Silveira
fb461c27bf Support overriding strong naming key path with environment variable. 2015-12-14 10:55:55 -08:00
Pavel Krymets
93158dc1be Add resource satelite assembly generation 2015-12-14 08:33:11 -08:00
David Fowler
aebc89683e Clean up whitespace 2015-12-13 22:40:11 -08:00
David Fowler
2f64f62e67 Move the temp folder under the project root
- Makes it easier to find it
- Works for .NET Framework when changing the app base
- There seems to be a problem when quitting the child process with Ctrl + C
2015-12-13 22:07:32 -08:00
Bryan
6ff7404a48 Multi Project Validator
A tool which searches recursively for project.json files,
runs a set of analyses and reports on the result.

For CLI we have only one rule currently, that Dependencies
between projects must be equivalent to avoid stomping.
2015-12-11 14:24:05 -08:00