Commit graph

95 commits

Author SHA1 Message Date
David Fowler
a35ae177ff - Make all of the code looking for built assets use the OutputPathCalculator
- Project dependencies are always built into their specific folders and the main project is the only one that uses the output path and intermediate output path variable.
- Publish respects the output path for publish only, not compile as part of publish. This means that publishing multiple runtimes will stomp on each other. So don't do that. We can throw if you specify and output location and you haven't specified a specific combination of RID and framework. Alternatively it should probably just pick the first TFM/RID pair from the lock file. This is similar to how `dotnet run` works.
- Cleaned up the incremental build output formatting
- Use a single stream (output stream) since interleaving them was causing formatting issues (like losing random characters in the middle of outputting things).
- Didn't change how pack works, it still preserves the output structure when passing `--output`, this one is worth discussing. We could leave the build output inplace and only move the package to the output location. That's more consistent with how everything else works and can be a follow up PR.
2016-01-27 11:13:45 -08:00
piotrp
60450bd94a Bump NETStandard.Library to 23727 2016-01-27 09:11:08 -08:00
piotrp
a66546d8fb Maintain test artifacts
Improved test diagnostics
Providing diagnostics about failed process.
Workaround for https://github.com/NuGet/Home/issues/1977
get past crossgen errors!
2016-01-26 23:25:39 -08:00
Andrew Stanton-Nurse
066bebcc6c bootstrap using nuget instead of dnx 2016-01-26 23:25:37 -08:00
moozzyk
0d3f1bf5f2 Strong naming Microsoft.Dotnet.Cli.Utils 2016-01-26 16:18:38 -08:00
Bryan
4c41c9699c Last necessary test changes
Fix the refactoring bugs

fix restore

downgrade version of package command test

Linux Test Script Fixes

use corehost instead of corerun for arg testing

don't copy corehost

fix scripts

Account for change in publish path, use corerun. Issue with AppContext.BaseDirectory in corehost.

Case Sensitive Reflector

wait for process exit

Fix bug in runtests.ps1

fix release build output path

fixup bug in runtests.sh
2016-01-23 14:32:50 -08:00
Bryan
cd9e5e2f08 Make the move off of * dependencies
move tests back to 23704

name changed, feedback
2016-01-23 13:01:37 -08:00
Bryan
c727c513dc Native fixes
project.json cleanup

Cleanup and Code Review Feedback
2016-01-23 13:01:36 -08:00
Bryan Thornbury
d1d23944df Changes to fix publish tests 2016-01-23 13:01:34 -08:00
Bryan
e794ad6a10 Basic Argument Forwarding and Escaping Code Additions/Changes 2016-01-23 13:01:30 -08:00
Andrew Stanton-Nurse
3d493f7d9d switch from DNX to cross-plat NuGet! 2016-01-19 11:43:09 -08:00
Piotr Puszkiewicz
4e0d28db74 Merge pull request #874 from dotnet/bricelam-patch-1
Update incorrect dependency in Microsoft.DotNet.Cli.Utils
2016-01-16 14:05:07 -08:00
Brice Lambson
a0d087ac72 Update incorrect dependency in Microsoft.DotNet.Cli.Utils 2016-01-15 12:55:26 -08:00
Sridhar Periyasamy
82a81cae8d Fix double quotes in 'pathext' environment variable. 2016-01-15 10:15:26 -08:00
Sridhar Periyasamy
684d9b1d89 Fix driver to remove double quotes from paths in %PATH% env
Fixes - #827
2016-01-14 18:27:26 -08:00
schellap
b4b482006b Fix host name, debuggability and embed CRT 2016-01-14 12:06:18 -08:00
Aleksandar Milicevic
1444815285 removed all invocations of the place-binary script from postcompile scripts, since it does not seem to be necessary 2016-01-12 13:16:52 -08:00
PiotrP
8274f5285b Enable resolving command paths from AppBase 2016-01-12 13:16:52 -08:00
Senthil
28f01faae5 Merge pull request #780 from schellap/host-svc
Split corehost into serviceable DLL and EXE
2016-01-12 12:35:09 -08:00
moozzyk
0e4719ee95 Adding pre/post publish scripts
Fixes #742
2016-01-12 09:41:59 -08:00
schellap
907cf00654 Split corehost into serviceable DLL and EXE 2016-01-11 18:06:18 -08:00
Zlatko Knezevic
a90d28404e Merge pull request #770 from alexanderkozlenko/pr_dls
Fix library suffux usage for coreclr library name construction
2016-01-11 16:30:35 -08:00
PiotrP
9eed889217 PR Feedback 2016-01-11 13:10:55 -08:00
PiotrP
ec5a50dfe8 fix parameter name in CommandResolver.cs 2016-01-11 12:06:35 -08:00
piotrp
c5ce2eb753 Fixes issue #781 makes CommandResolver comply with new implementation of --depsFile 2016-01-11 02:36:21 -08:00
piotrp
5cd64066c4 Packaged Commands 2016-01-09 16:50:31 -08:00
Alexander Kozlenko
9fce07625d Fix library suffux usage for coreclr library name construction 2016-01-09 15:49:29 +02:00
Andrew Stanton-Nurse
f4df12f2e2 add proper RID detection based on PlatformAbstractions 2016-01-08 10:07:58 -08:00
Piotr Puszkiewicz
6b1e11a1c9 Merge pull request #722 from Sridhar-MS/centos-tests
Enable running tests for CentOS
2016-01-06 01:14:04 -08:00
piotrp
47f79e4d99 Cli.Utils internal --> public 2016-01-06 00:44:41 -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
49007197e8 self-closing ifs 2016-01-05 01:49:31 -08:00
piotrp
cb90b1122c Some PR feedback, cleaning up namespaces. 2016-01-05 01:49:28 -08:00
piotrp
ef0fc05119 ProjectContext.MakeRunnable
PR Feedback

Fixing naming of GetContentFiles
2016-01-05 01:49:27 -08:00
Tanner Gooding
adc24fd301 Adding support for seeding the repl with a project context. 2015-12-29 13:40:47 -08: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
55b9697b74 Merge branch 'master' of https://github.com/dotnet/cli into publish-tests2 2015-12-17 18:16:33 -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
3c1c747d9d rc2-23616 to hopefully resolve crossgen issues 2015-12-16 11:48:33 -08:00
Bryan
fcad2bab83 Upgrade References in Project.json files to rc2-23614 2015-12-16 11:47:55 -08:00
Sridhar Periyasamy
771b0b1eb1 Fix build break 2015-12-15 10:04:16 -08:00
Pavel Krymets
93158dc1be Add resource satelite assembly generation 2015-12-14 08:33:11 -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
Bryan Thornbury
8b12fa9ffe Merge pull request #445 from brthor/stdlib
Move references to StdLib, Update other versions to "-rc2-23608"
2015-12-10 11:14:32 -08:00
Charles Stoner
6a15c33492 Merge pull request #424 from cston/prompt
Allow unbuffered forwarding of output
2015-12-10 09:18:18 -08:00
Charles Stoner
ac017ea3ee Forward output unbuffered 2015-12-09 15:20:58 -08:00
Bryan
16fa836215 Upgrade references to use NETStandard.Library, or up to rc2-23608 where applicable 2015-12-09 14:52:56 -08:00
Sridhar Periyasamy
cd357cb273 Fix dotnet driver on windows to deal with spaces
dotnet driver fails running dotnet-restore.cmd if this file is in a path
containing spaces. Use the magic "/S" switch in cmd to fix this.
2015-12-04 16:26:07 -08:00
piotrp
407c933480 add dotnet-test 2015-11-30 17:28:03 -08:00