Commit graph

2727 commits

Author SHA1 Message Date
Livar
18126c4ea8 Merge branch 'master' into CacheRename 2017-04-08 09:36:15 -07:00
Livar
cc9271119e Merge pull request #6266 from wli3/fix-migrate-x
Fix migrate command's parse error
2017-04-08 09:34:52 -07:00
Livar Cunha
c8b042fd1b Fixing the build. 2017-04-08 00:31:27 -07:00
Livar Cunha
4c926ec9c5 Fixing the order in which we publish the stage2 with the legacy runtime. 2017-04-08 00:31:27 -07:00
Livar Cunha
772e838ff8 Removing the additional shared framework from the official stage2 build of the CLI. Instead, I also create a stage2 build with the legacy runtime so that we can continue to run tests tthat depend on it, but most importantly, we will be able to run backwards compatibility tests using it. 2017-04-08 00:31:27 -07:00
Eric Erhardt
07b25e268c Rename cache to store.
Rename `dotnet publish --filter` to `dotnet publish --target`.

Partial fixes for #6243, #6244
2017-04-07 14:21:16 -05:00
William Li
4f52ed37f7 Fix migrate command's parse error
argument. So, when it is trying to materialize MigrateCommand, the file
path does not match what it is expected(a bool).
2017-04-07 08:01:06 -07:00
Mike Lorbetske
379dd5c9e0 Update template engine & template versions 2017-04-05 13:50:12 -07:00
Eric Erhardt
b00384f497 Merge pull request #6234 from eerhardt/SelfContained
Add --self-contained to publish.
2017-04-04 12:03:09 -05:00
Livar
6c5d622b9e Merge pull request #6151 from smadala/rd-arg
Add results-directory switch to dotnet test
2017-04-04 08:31:58 -07:00
Satya Madala
bd10beafae update help message for test results directory 2017-04-04 12:40:18 +05:30
Livar
34f7df0763 Merge pull request #6209 from livarcocc/first_run_fallback_folder
First run fallback folder
2017-04-03 23:23:29 -07:00
Livar Cunha
af3d2a6c5c Fixing formatting issues pointed out during code review. 2017-04-03 22:18:05 -07:00
Livar Cunha
3d0089552c Fixing failures in tests when the user has a fallbackfolder setup on this machine already. These failures are again due to the fact that --packages are not populated when the packages are found in the fallback folder. 2017-04-03 22:15:40 -07:00
Eric Erhardt
ab15200500 Add --self-contained to publish.
This flows to the $(SelfContained) property added in https://github.com/dotnet/sdk/pull/1053
2017-04-03 18:17:08 -05:00
Livar Cunha
347bd4b1fe Fixing the location of the sentinel and placing it side by side with the fallback folder. 2017-03-30 14:14:36 -07:00
Livar Cunha
0c1af8a2fe Enabling E2E tests by setting HOME and USERPROFILE env variables. This will cause the NuGet.Config and fallback folder to be extract to the location in those variables during the tests. Also refactored all NuGet path calculators for the first run to a single place. 2017-03-30 11:28:01 -07:00
jonsequitur
7a90675be7 enforce repeating options to for multiple arguments 2017-03-30 07:43:04 -07:00
Livar Cunha
a46237784e Modified the build script to generate the lzma archive without the nupkgs. Modified the configurer to upsert NuGet.Config with the fallback folder info and to extract the fallback folder. Added unit tests for all this. Next step: update E2E tests. 2017-03-30 00:11:17 -07:00
Satya Madala
8bed1b3a23 Update help text 2017-03-30 12:13:14 +05:30
Petr Onderka
8eab3ad038 Fixed broken links 2017-03-28 15:50:05 +02:00
Chris Rummel
cd0fc7886c
Make folder case consistent.
This causes no build issues (because the .csproj uses the default wildcard include),
but prevents the repo from being pushed to VSO Git.
2017-03-27 14:59:40 -05:00
Livar
e09c33400c Merge pull request #6138 from livarcocc/tool_fallback_folder
Switched to using a FallbackPackagePathResolver to find the tool dll
2017-03-27 10:57:55 -07:00
Livar Cunha
b2116cd2e1 Addressing comments by adding a test covering the case where the tool assemblies are not found. 2017-03-26 21:52:27 -07:00
Satya Madala
12e59ebb6e Merge branch 'master' into rd-arg 2017-03-25 16:33:01 +05:30
Satya Madala
8a6913b2fe Add results directory arg to dotnet test 2017-03-25 15:18:14 +05:30
Nick Guerrera
fcd3c149f8 Merge pull request #6136 from nguerrera/vs-version-props
Package bundled version props in to a VS insertion nupkg
2017-03-24 15:56:04 -07:00
Livar
9f186882b3 Merge pull request #6120 from dasMulli/bugfix/run-directory-arg
Allow directories as project arguments to run command.
2017-03-24 14:14:50 -07:00
Livar Cunha
10e743e8e5 Switched to using a FallbackPackagePathResolver to find the tool dll, because now with Fallback folders, we can have the tool dll in the fallback folder but its assets file in the user nuget cache. This happens because Nuget never writes to the fallback folder, including the tool's assets file that it generates during restore. 2017-03-24 12:17:27 -07:00
Livar
b2ac1cf8df Merge pull request #6134 from jonsequitur/stop-splitting-tokens-when-option-is-not-valid
update CommandLineParser version for more selective option splitting
2017-03-24 12:14:47 -07:00
Nick Guerrera
5e26d0f160 Package bundled version props in to a VS insertion nupkg 2017-03-24 11:11:31 -07:00
dasMulli
a4cb3fdf81
Allow directories as project arguments to run command. 2017-03-24 06:44:53 +01:00
jonsequitur
abfb877c5d update Microsoft.DotNet.Cli.CommandLineParser version for more selective option splitting 2017-03-23 17:12:35 -07:00
Nick Guerrera
e644058c0e Merge branch 'master' into version-props 2017-03-23 13:59:47 -07:00
Livar
960b3808ee Merge pull request #6115 from jonsequitur/adaptive-help-spacing
Adaptive help spacing
2017-03-23 13:13:49 -07:00
jonsequitur
149f292b6a check for help in DotNetTopLevelCommandBase 2017-03-23 08:15:41 -07:00
jonsequitur
857df6a384 remove unused variable 2017-03-22 15:47:54 -07:00
Nick Guerrera
a5051a0aff Generate bundled version props 2017-03-22 15:28:39 -07:00
jonsequitur
94bc781df7 remove debug file output 2017-03-22 13:51:45 -07:00
jonsequitur
c58b0b70a6 add null propagation 2017-03-22 13:51:32 -07:00
jonsequitur
055523770a update CliCommandLineParser version 2017-03-22 13:51:09 -07:00
jonsequitur
53f9b4f427 fix spelling error 2017-03-22 13:04:58 -07:00
Livar
485237a8a0 Merge pull request #6097 from ellismg/fix-6096
Don't write `\b` when output is redirected
2017-03-21 21:54:08 -07:00
Matt Ellis
bdfc759350 Don't write \b when output is redirected
Fixes #6096
2017-03-21 18:03:43 -07:00
jonsequitur
0eca6cb9cd remove unused forwarded argument 2017-03-21 14:55:33 -07:00
jonsequitur
66980de543 merge 2017-03-21 14:19:56 -07:00
Livar
09f07e8b04 Merge pull request #6090 from eerhardt/Run
Port #4403 back into the main source code.
2017-03-21 13:11:02 -07:00
jonsequitur
4effd9354c merge 2017-03-21 11:57:08 -07:00
Eric Erhardt
55eb812664 Port #4403 back into the main source code.
This change was lost when we converted the MSBuild "run3" verb to just "run".

Fix #6076
2017-03-21 13:46:08 -05:00
jonsequitur
4425398fc8 set loc strings for parser-formatted help 2017-03-21 11:41:09 -07:00
Livar
a70f2a7af8 Merge pull request #6054 from eerhardt/EnableLinuxTests
Enable tests on linux portable build.
2017-03-20 20:59:44 -07:00
Rama Krishnan Raghupathy
a48f3a6bbf Using Apphost.exe for standalone apps 2017-03-20 18:06:48 -07:00
Eric Erhardt
8e239a4825 Clean up dead code
These are old usages of GetRuntimeIdentifier() that are no longer needed.
2017-03-20 12:23:23 -05:00
jonsequitur
3e265a98b8 fix merge issues 2017-03-19 18:48:16 -07:00
Jon Sequeira
6cfec479cb Merge branch 'master' into tab-completion 2017-03-19 18:20:29 -07:00
jonsequitur
c85492bd48 merge master 2017-03-19 17:09:05 -07:00
jonsequitur
daac945742 restore loc strings, subcommand parsers into separate files 2017-03-19 16:38:08 -07:00
Jon Sequeira
43c13f2f53 move parse result validation to CommandBase to allow custom messages 2017-03-19 14:30:43 -07:00
jonsequitur
f8e051895e re-enable colon and equals signs as argument delimiters 2017-03-17 13:28:21 -07:00
jonsequitur
0d04b51c93 get the full path for dotnet cache output 2017-03-17 11:06:58 -07:00
Livar
1574349a59 Merge pull request #5875 from dotnet/mairaw-patch-1
Fix misleading string for dotnet add package
2017-03-16 19:55:33 -07:00
Maira Wenzel
1ee9529203 reverted SpecifyExactlyOnePackageReference string 2017-03-16 16:10:48 -07:00
Jon Sequeira
4d8bab8389 remove extra diagnostic output from ForwardApp 2017-03-16 15:46:27 -07:00
Livar
5476ad9cf8 Merge pull request #6053 from smadala/tp-redist-02
Netcoreapp2.0 targetted TestPlatform
2017-03-16 14:56:23 -07:00
jonsequitur
973021b214 publish, cache, text fixes; rename ForwardAs and introduce ForwardAsMany 2017-03-16 13:22:08 -07:00
Satya Madala
1f886632f2 remove NetCore10Assemblies renaming back 2017-03-17 00:20:40 +05:30
Maira Wenzel
9b06921b75 addressed feedback 2017-03-16 10:59:33 -07:00
jonsequitur
8aa702dc97 text fixes for dotnet remove 2017-03-16 10:46:08 -07:00
jonsequitur
9c2e8f0037 text fixes, remove file existence validations from parse 2017-03-16 09:49:07 -07:00
Satya Madala
d95f599028 Remove unavailable netcore10 assemblies 2017-03-16 21:58:49 +05:30
jonsequitur
9318e8f10d Merge branch 'tab-completion' of https://github.com/jonsequitur/cli into tab-completion 2017-03-16 08:32:43 -07:00
jonsequitur
3c8f330930 update parser 2017-03-16 08:31:15 -07:00
Piotr Puszkiewicz
6c8400b8be dotnet run --no-build
test shows the option was previously supported, but ignored.
2017-03-16 02:39:48 -07:00
Livar
d347e2781d Merge pull request #5922 from blackdwarf/helpadd
Add dotnet help <verb> support
2017-03-15 22:00:00 -07:00
Jon Sequeira
69ba7095e5 update parser 2017-03-15 20:33:22 -07:00
jonsequitur
5bfd610407 add back --version-suffix 2017-03-15 19:25:16 -07:00
jonsequitur
ae312b7965 adjust parser constraints for dotnet add 2017-03-15 19:09:54 -07:00
Jon Sequeira
8a2be57617 text fixes for dotnet remove 2017-03-15 13:59:39 -07:00
blackdwarf
30a872bd80 Responding to PR feedback 2017-03-15 09:51:07 -07:00
Zlatko Knezevic
d251734170 Responding to PR feedback 2017-03-15 09:37:28 -07:00
Jon Sequeira
bcfc16000c latest CliCommandLine 2017-03-15 09:28:10 -07:00
Jon Sequeira
c316b98c74 remove command fixes 2017-03-15 09:27:27 -07:00
Jon Sequeira
bbc2722cb7 loc spelling error and other fixes 2017-03-14 23:13:59 -07:00
jonsequitur
d3a101ebad list reference accepts zero or one arg 2017-03-14 20:20:25 -07:00
jonsequitur
1ca338838a dotnet list reference fix 2017-03-14 19:19:31 -07:00
Jon Sequeira
4940c2a6ee use ValueOrDefault 2017-03-14 18:41:27 -07:00
Livar
ee9ba91e85 Merge pull request #6030 from nj/readme_environment_var
Change name for DOTNET_PACKAGES to NUGET_PACKAGES
2017-03-14 18:19:41 -07:00
Jon Sequeira
11270a436b list command help text fix 2017-03-14 16:13:49 -07:00
Jon Sequeira
59d1fe32bc remove redundant help 2017-03-14 15:22:31 -07:00
Jon Sequeira
35732fc07d include HelpText in CommandParsingError, write it to stdout 2017-03-14 12:26:24 -07:00
Jon Sequeira
22fb17422f handle -? and /? arguments as help 2017-03-14 11:30:35 -07:00
Jon Sequeira
898d10cb2d help text adjustments for dotnet sln 2017-03-14 11:23:19 -07:00
Jon Sequeira
96683c1421 help text updates 2017-03-14 10:33:58 -07:00
Nikolaj Jørgensen
cacd52fdbb Change name for DOTNET_PACKAGES to NUGET_PACKAGES
README was never updated in #817, making it show an obsolete variable.

This reflects the name used in the current code
2017-03-14 10:55:29 +01:00
Zlatko Knezevic
36e3d5d2f9 Removing locale from the commented links 2017-03-13 20:56:42 -07:00
Jon Sequeira
2c96d8e8b9 throw exceptions for command not found 2017-03-13 20:06:59 -07:00
Zlatko Knezevic
fa98674954 Responding to PR feedback 2017-03-13 19:42:30 -07:00
Jon Sequeira
ace4fe49f6 new CliCommandLine version 2017-03-13 16:01:58 -07:00
Jon Sequeira
f5d9cfc79c reverse order of help response vs error response 2017-03-13 15:29:39 -07:00
Jon Sequeira
204d8594bf throw exception on parse errors 2017-03-13 13:29:03 -07:00