Livar Cunha
9c87983fdf
When doing the argument escaping work, we changed the way we pass the depsfile to the host, this broke the dotnet test command. Moving the parameter back to its original and expected format.
2016-01-28 18:12:28 -08:00
PiotrP
e792387d7a
Adjust imports to portable45
2016-01-28 10:55:22 -08:00
David Fowler
6edac85dce
Fixed copying output assets to the publish directory
2016-01-27 20:35:43 -08:00
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
Bryan Thornbury
939ba19fb6
Small Fix
2015-11-30 11:12:39 -08:00
Bryan
ef22c93c39
E2E Testing First pass. Test each command in a sequence to mock what a user might do.
2015-11-30 11:07:07 -08:00
piotrp
8d2733e147
PR Feedback
2015-11-29 11:35:19 -08:00
piotrp
abff1f474c
PR Feedback
2015-11-28 09:39:56 -08:00
piotrp
976393ab0a
Enable commands to be shipped in packages
2015-11-28 01:18:42 -08:00
piotrp
bf2583c1a6
Fix Microsoft.DotNet.ProjectModel namespace
2015-11-27 16:19:54 -08:00
Krzysztof Wicher
159e6187ae
Merge pull request #288 from krwq/switch_to_system_commandline
...
Switch dotnet-run to System.CommandLine
2015-11-26 06:20:46 -08:00
schellap
29cd999b51
Fix restore.cmd not recognizable command
2015-11-25 12:14:26 -08:00
Krzysztof Wicher
0ecbc0d5fc
Convert dotnet-run to System.CommandLine
2015-11-20 20:33:32 -08:00
Pranav K
6e465818c5
Copy of AnsiConsole from aspnet/dnx/dev/src/Microsoft.Extensions.CommandLineUtils.Sources
2015-11-20 19:01:03 -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
PiotrP
e839b4debb
Update Copyright headers in all source files.
2015-11-16 19:47:43 -08:00
David Fowler
98390d50e0
Don't require all dotnet tools to be on the path
...
- Try resolving full path to executable in the local directory first.
2015-11-16 18:21:15 -08:00
Andrew Stanton-Nurse
4cc15b1246
restructure the output layout
...
also reorganize the scripts folder
2015-11-16 09:44:00 -08:00
Charles Stoner
e2cdf17e2e
Add Microsoft.DotNet.Tools.Interactive
2015-11-05 08:54:20 -08:00
Sridhar Periyasamy
f211414d6e
Upgrade references to 23504. It has the fix in System.Diagnotics.Process
...
for the Ubuntu hang.
2015-11-04 10:31:40 -08:00
Andy Gocke
e338f0415c
Update everything to 23502 and add Tools.Run to sln
2015-11-02 21:47:18 -08:00
Andy Gocke
7dd429f047
Enable Roslyn crossgen on osx/linux
...
Also updates the runtime to 23502, which contains the crossgen
utility in the xplat runtime packages.
2015-11-02 16:44:03 -08:00
anurse
b35fba863b
command line interface clean-up
2015-11-01 21:08:01 -08:00
David Fowler
e372b32b61
Overwrite existing env vars
2015-11-01 06:24:31 -08:00
Andrew Stanton-Nurse
3ce7a84a04
dotnet-run command
2015-10-31 21:57:07 -07:00
Bryan Thornbury
951e682070
remove constant
2015-10-30 15:17:43 -07:00
Bryan Thornbury
15cbb75e45
merge with master
2015-10-30 15:11:18 -07:00
Andrew Stanton-Nurse
e70a169b28
Add a shared runtime aware host
...
And use it in dotnet-compile
2015-10-30 15:03:29 -07:00
Bryan Thornbury
822f8100a9
clean things up
2015-10-30 14:48:09 -07:00
Bryan Thornbury
4cb3b9569b
Merge remote-tracking branch 'upstream/master' into compilenative
2015-10-29 12:04:02 -07:00
Bryan Thornbury
7fe32a93b1
--native first attempt
2015-10-29 12:03:01 -07:00
Andrew Stanton-Nurse
840b704bf5
pin versions
2015-10-28 15:55:43 -07:00
Andrew Stanton-Nurse
a715be1d59
switch to latest coreclr
2015-10-28 15:47:47 -07:00
Andrew Stanton-Nurse
1d76b2846c
package up DNX in the tar.gz
...
includes a smoke test for verifying that the output can be used to build
also includes a checked-in CoreCLR in order to work around CoreCLR issue
2015-10-28 10:32:30 -07:00
David Fowler
8ca5740ce0
Change output for process exiting
2015-10-22 05:31:24 -07:00
glennc
7339dbd5bf
Force package versions down temporarily while we move to dotnet.
2015-10-21 14:02:47 -07:00
David Fowler
5872aa0f0c
Make all command execution synchronous
...
- This fixes a bunch of weird races I was seeing building
larger solutions.
2015-10-21 03:11:27 -07:00
David Fowler
d42b38d8ff
Small fixes
...
- Change color of executing command
- Fix overwrite in publish
2015-10-20 03:07:21 -07:00
David Fowler
063eb45f8b
Moved the reporter to shared code
2015-10-20 02:42:29 -07:00
David Fowler
0c5464fa8c
Added time for command execution
2015-10-18 21:24:26 -07:00
David Fowler
fc64db1f73
Support resx file embedding
...
- Added resgen tool and takes .resx and makes .resources
- Write .resources and .rsp to obj folder
2015-10-18 21:07:48 -07:00
David Fowler
6ba4781c4f
Made changes to compilation and other things
...
- Added basic support for embedded resources (resx files are next!)
- Print out exit code from executed command (makes debugging easier)
- Fixed dnvm2.cmd to avoid putting things on the user path
- Fixed up propagation of exit codes
2015-10-18 19:02:09 -07:00
Andrew Stanton-Nurse
1a01bfb931
add mac build
2015-10-16 15:45:19 -07:00
Andrew Stanton-Nurse
1a9a5acb41
check in CoreConsole until there's a working build
2015-10-16 15:45:17 -07:00
David Fowler
64f539e100
Fixed a few issues around bootstrapping
...
- Work aronud coreconsole issue in the bootstrap.cmd
- Use msbuild 14 roslyn csc until we have it
- Remove quoting args when building project refs, it wasn't working
- Fixed logic that launched exe's directly
2015-10-16 04:21:40 -07:00
Andrew Stanton-Nurse
6d3f07234a
code review feedback
2015-10-15 12:56:07 -07:00
Andrew Stanton-Nurse
40eba07f28
add some bootstrap scripting
2015-10-15 12:18:45 -07:00
Andrew Stanton-Nurse
9da2475e2f
port DNX's ApplicationHostContext as ProjectContext
2015-10-14 15:37:39 -07:00
anurse
43873a37b5
merge my spike on compile/publish/run and switch from PS1 to C#
2015-10-06 10:46:43 -07:00