Commit graph

1198 commits

Author SHA1 Message Date
Jon Sequeira
a6c2b6c9f6 update CliCommandLine, other code changes 2017-03-12 15:06:34 -07:00
Jon Sequeira
5c4db56d3b correct arguments for dotnet sln commands 2017-03-11 11:47:04 -08:00
Jon Sequeira
86f26550f1 R: fix spelling 2017-03-11 11:00:18 -08:00
jonsequitur
ae01694167 Merge branch 'tab-completion' of https://github.com/jonsequitur/cli into tab-completion 2017-03-11 09:45:19 -08:00
Piotr Puszkiewicz
7795ce4d67 Fix build command 2017-03-10 18:59:32 -08:00
Jon Sequeira
6e3a55e872 update CliCommandLine version 2017-03-10 18:21:58 -08:00
Piotr Puszkiewicz
3bdfe28765 Resolve build breaks 2017-03-10 17:52:40 -08:00
Piotr Puszkiewicz
23d4fb32f3 Merge remote-tracking branch 'jonsequitur/tab-completion' into tab-completion 2017-03-10 17:37:26 -08:00
Jon Sequeira
34d9cbf863 new CliCommandLine version 2017-03-10 17:11:19 -08:00
Jon Sequeira
a3f536c248 move subcommands to new parser 2017-03-10 16:43:44 -08:00
Piotr Puszkiewicz
df3c08b645 Pass through test options to msbuild 2017-03-10 13:49:49 -08:00
Piotr Puszkiewicz
e1568bbc1e Re-enable localizable strings 2017-03-10 13:36:18 -08:00
Piotr Puszkiewicz
18a2b95dec Initial port of dotnet test 2017-03-10 13:18:14 -08:00
Piotr Puszkiewicz
d6f0265d15 Merge remote-tracking branch 'jonsequitur/tab-completion' into tab-completion 2017-03-10 10:43:06 -08:00
Piotr Puszkiewicz
482f1b555b missing peren 2017-03-10 10:43:01 -08:00
Piotr Puszkiewicz
3ff16d9b66 Merge remote-tracking branch 'jonsequitur/tab-completion' into tab-completion 2017-03-10 10:34:27 -08:00
Jon Sequeira
d3319adb59 fix merge error 2017-03-10 10:34:25 -08:00
Piotr Puszkiewicz
1f5be51955 relocate suggest.cs 2017-03-10 10:17:10 -08:00
Piotr Puszkiewicz
940dd6863a move dotnet-run 2017-03-10 10:13:11 -08:00
Piotr Puszkiewicz
071f4dc697 Convert Run 2017-03-10 09:08:01 -08:00
Piotr Puszkiewicz
4149150acc Resolve Parser ambiguity 2017-03-10 01:13:13 -08:00
Piotr Puszkiewicz
120d28a78d Migrate dotnet-pack 2017-03-10 01:11:16 -08:00
Piotr Puszkiewicz
4912e4aa6c Fix naming of BuildCommand.cs 2017-03-10 01:11:07 -08:00
Piotr Puszkiewicz
92245e4523 Centralize VersionSuffixOption 2017-03-10 01:10:23 -08:00
Piotr Puszkiewicz
dc72b7ce92 Fix Clean ordering 2017-03-10 01:08:19 -08:00
Piotr Puszkiewicz
fd6d499ba6 dotnet-migrate 2017-03-09 18:45:11 -08:00
Piotr Puszkiewicz
ba50d619d8 Build fixes for clean & build 2017-03-09 18:44:48 -08:00
jonsequitur
58bf70a476 merge 2017-03-09 18:36:05 -08:00
Piotr Puszkiewicz
706e34ad47 Cache 2017-03-09 18:16:26 -08:00
Piotr Puszkiewicz
ca9268c504 Clean 2017-03-09 18:16:20 -08:00
Piotr Puszkiewicz
c68aba4f63 Test Fix 2017-03-09 17:52:17 -08:00
Piotr Puszkiewicz
bbc23af138 Fix failing Cache tests 2017-03-09 17:20:00 -08:00
Piotr Puszkiewicz
03544ad0cd Build Unit Tests 2017-03-09 16:39:49 -08:00
Piotr Puszkiewicz
cb19d357d6 Build issues 2017-03-09 16:17:15 -08:00
Piotr Puszkiewicz
1c25a17e03 , -> ; 2017-03-09 16:13:19 -08:00
Piotr Puszkiewicz
e0da3090e6 Initial Cache parser 2017-03-09 16:12:08 -08:00
Piotr Puszkiewicz
3ebdf2909d TFM, RID, Config as CommonOptions 2017-03-09 16:11:58 -08:00
Piotr Puszkiewicz
30e856a365 zeroormore 2017-03-09 14:47:02 -08:00
Piotr Puszkiewicz
ae152503aa port build command 2017-03-09 14:36:31 -08:00
Justin Goshi
c35dbd9563 Migration of xproj with name different from folder leaves ref to old project in solution (#5958)
* WIP trying to remove unused xproj files

* Use relative path

* Add a test

* Fix a few test failures

* Fix path issue

* Address PR Comments
2017-03-09 12:17:18 -10:00
Jon Sequeira
ee2b8f2efa add diag to VerbosityOption 2017-03-09 13:57:37 -08:00
Jon Sequeira
ea899f236e fix publish parser args validation 2017-03-09 13:19:46 -08:00
Jon Sequeira
46b799af01 trigger help display using HelpException 2017-03-09 12:31:34 -08:00
Jon Sequeira
998ac9c3eb ParseCommand 2017-03-09 10:53:17 -08:00
Jon Sequeira
4284c4e363 small change to arg forwarding methods, test fixes 2017-03-09 09:14:55 -08:00
jonsequitur
0b94c979db publish using new parser, rename ArgsToBeForwarded 2017-03-09 07:35:06 -08:00
jonsequitur
1a0ba24883 publish command using new parser 2017-03-08 17:53:07 -08:00
Jon Sequeira
fd6f7e48b5 WIP 2017-03-08 16:02:24 -08:00
Rama Krishnan Raghupathy
7e0010c57f display exception as error 2017-03-08 15:12:50 -08:00
Jon Sequeira
30480fa189 restore:captures arguments for forwarding to MSBuild 2017-03-07 16:40:18 -08:00
Rama Krishnan Raghupathy
ed1ca04f51 Enabling multifile support for cache 2017-03-07 14:38:07 -08:00
Jon Sequeira
53ea7f62bf update CliCommandLine version 2017-03-07 11:29:29 -08:00
Jon Sequeira
1ed5b420a9 don't split on : or = in restore command parse 2017-03-07 11:28:35 -08:00
Jon Sequeira
c176b5953f additional logging 2017-03-07 07:10:12 -08:00
Jon Sequeira
69bc90dc6f dotnet restore using new parser 2017-03-06 20:53:26 -08:00
Jon Sequeira
0094fd4e08 revert subcommand change, align CliCommandLine versions 2017-03-06 16:34:05 -08:00
jonsequitur
6b66db7436 a few small code cleanups 2017-03-06 12:22:32 -08:00
jonsequitur
5f227c1c45 split parser definitions across multiple files 2017-03-06 12:21:51 -08:00
jonsequitur
8b0dd3579c a couple of parser unit tests 2017-03-06 12:21:22 -08:00
jonsequitur
614f71d19f add help text for a couple of commands 2017-03-06 12:20:14 -08:00
jonsequitur
d40a87bc44 introduce dotnet complete command 2017-03-06 12:19:06 -08:00
Zlatko Knezevic
4da96e1ace Responding to PR feedback 2017-03-05 21:06:43 -08:00
blackdwarf
4aacb22993 Add support for dotnet help <verb>
This commit adds supports for getting more detailed help by using the
`dotnet help <verb>` syntax (e.g. `dotnet help build`). This change
opens up the URL that is specified for each verb in the default browser
on the user's machine, so internet access is required.
2017-03-04 19:19:39 -08:00
Rama Krishnan Raghupathy
99301d0d95 fix cache test 2017-03-03 16:59:12 -08:00
Piotr Puszkiewicz
d55a8f8188 Add missing copyright headers to all cs files 2017-03-02 21:04:03 -08:00
Piotr Puszkiewicz
e617376bc7 Trailing newlines + standardize tabs -> spaces 2017-03-02 20:35:20 -08:00
Piotr Puszkiewicz
78cf9a2941 Version as Metadata in src/ 2017-03-02 19:49:30 -08:00
Maira Wenzel
8a0dd7aece Merge branch 'master' into mairaw-patch-1 2017-03-02 10:52:55 -08:00
Piotr Puszkiewicz
a1d27b6843 Merge pull request #5741 from spboyer/master
Update help text for dotnet-add-package
2017-03-01 00:36:57 -08:00
Maira Wenzel
15938b5536 Update LocalizableStrings.cs 2017-02-28 17:18:08 -08:00
Krzysztof Wicher
3a3025b3af remove duplication in dotnet-restore 2017-02-23 11:31:48 -08:00
Krzysztof Wicher
c75d2e446e reduce some repetition 2017-02-23 11:24:36 -08:00
Krzysztof Wicher
eddca32b2f add dotnet clean unit tests 2017-02-22 17:40:02 -08:00
Krzysztof Wicher
b85a2ec6f2 unit tests for dotnet-cache invocation, some cleanup 2017-02-22 15:49:39 -08:00
Krzysztof Wicher
3415a79940 vstest unit tests 2017-02-22 13:53:44 -08:00
Krzysztof Wicher
1514dd5e16 add dotnet-publish unit tests 2017-02-22 12:45:11 -08:00
Krzysztof Wicher
584b4a93c0 add dotnet pack unit tests 2017-02-22 12:01:59 -08:00
Krzysztof Wicher
06ceb66089 skip not finished tests and add restore unit tests 2017-02-22 11:43:03 -08:00
Krzysztof Wicher
873bb31cfa Move CommandCreationException to root 2017-02-22 10:52:23 -08:00
Shayne Boyer
0e3b47b725 undo .xlf remove-reference 2017-02-22 10:46:31 -05:00
Shayne Boyer
2f65c3ee6a undo .xlf fils for add-reference 2017-02-22 10:43:40 -05:00
Shayne Boyer
f078575040 undo .xlf files 2017-02-22 10:40:37 -05:00
Piotr Puszkiewicz
e46ca4769c fix dotnet version 2017-02-21 22:17:28 -08:00
Livar
99f7eb4843 Merge pull request #5699 from krwq/2017-02-13-psi-extraction
Unit tests for dotnet build
2017-02-19 09:57:07 -08:00
Piotr Puszkiewicz
85b2a129db Merge branch 'rel/1.0.0'
Conflicts:
	TestAssets/TestPackages/dotnet-hello/v1/dotnet-hello/dotnet-hello.csproj
	TestAssets/TestPackages/dotnet-hello/v2/dotnet-hello/dotnet-hello.csproj
	TestAssets/TestPackages/dotnet-prefercliruntime/dotnet-prefercliruntime.csproj
	TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj
	TestAssets/TestProjects/AppWithDirectDep/AppWithDirectDep.csproj
	build.proj
	build/Compile.targets
	build/Microsoft.DotNet.Cli.Compile.targets
	build/Microsoft.DotNet.Cli.DependencyVersions.props
	build/Microsoft.DotNet.Cli.Monikers.props
	build/Microsoft.DotNet.Cli.Prepare.targets
	build/package/Microsoft.DotNet.Cli.Nupkg.targets
	build/package/Nupkg.targets
	build/test/TestPackageProjects.targets
	build_projects/dotnet-cli-build/GenerateBuildVersionInfo.cs
	build_projects/dotnet-cli-build/GetCommitCount.cs
	build_projects/dotnet-cli-build/dotnet-cli-build.csproj
	build_projects/shared-build-targets-utils/Utils/BuildVersion.cs
	src/dotnet-archive/dotnet-archive.csproj
	src/tool_msbuild/tool_msbuild.csproj
	src/tool_nuget/tool_nuget.csproj
	test/ArgumentForwardingTests/ArgumentForwardingTests.csproj
	test/ArgumentsReflector/ArgumentsReflector.csproj
	test/EndToEnd/EndToEnd.csproj
	test/Microsoft.DotNet.Cli.Sln.Internal.Tests/Microsoft.DotNet.Cli.Sln.Internal.Tests.csproj
	test/Microsoft.DotNet.Cli.Utils.Tests/GivenAProjectToolsCommandResolver.cs
	test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj
	test/Microsoft.DotNet.Configurer.UnitTests/Microsoft.DotNet.Configurer.UnitTests.csproj
	test/Microsoft.DotNet.ProjectJsonMigration.Tests/Microsoft.DotNet.ProjectJsonMigration.Tests.csproj
	test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj
	test/binding-redirects.Tests/binding-redirects.Tests.csproj
	test/crossgen.Tests/crossgen.Tests.csproj
	test/dotnet-add-package.Tests/dotnet-add-package.Tests.csproj
	test/dotnet-add-reference.Tests/dotnet-add-reference.Tests.csproj
	test/dotnet-build.Tests/dotnet-build.Tests.csproj
	test/dotnet-help.Tests/dotnet-help.Tests.csproj
	test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj
	test/dotnet-migrate.Tests/dotnet-migrate.Tests.csproj
	test/dotnet-msbuild.Tests/dotnet-msbuild.Tests.csproj
	test/dotnet-new.Tests/dotnet-new.Tests.csproj
	test/dotnet-nuget.UnitTests/dotnet-nuget.UnitTests.csproj
	test/dotnet-pack.Tests/dotnet-pack.Tests.csproj
	test/dotnet-publish.Tests/dotnet-publish.Tests.csproj
	test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj
	test/dotnet-restore.Tests/dotnet-restore.Tests.csproj
	test/dotnet-run.Tests/dotnet-run.Tests.csproj
	test/dotnet-sln-add.Tests/dotnet-sln-add.Tests.csproj
	test/dotnet-sln-list.Tests/dotnet-sln-list.Tests.csproj
	test/dotnet-sln-remove.Tests/dotnet-sln-remove.Tests.csproj
	test/dotnet-test.Tests/dotnet-test.Tests.csproj
	test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj
	test/dotnet.Tests/dotnet.Tests.csproj
	test/msbuild.IntegrationTests/msbuild.IntegrationTests.csproj
	tools/Archiver/Archiver.csproj
2017-02-17 02:00:05 -08:00
Krzysztof Wicher
ae05e8af1d remove parameterless constructor 2017-02-16 14:22:02 -08:00
Krzysztof Wicher
6f1ea62bc9 rename variable to buildCommand 2017-02-16 14:22:02 -08:00
Krzysztof Wicher
531b0136eb add tests for checking filename, working dir and validation of presence of environmental variables 2017-02-16 14:22:02 -08:00
Krzysztof Wicher
8ebc06da46 add more unit tests 2017-02-16 14:22:02 -08:00
Krzysztof Wicher
9c00966956 preview of single unit test for dotnet build 2017-02-16 14:22:02 -08:00
Shayne Boyer
14f43ef896 fix camelcasing 2017-02-16 17:14:54 -05:00
Shayne Boyer
c9fa9be412 Fixes 5740 2017-02-16 16:11:11 -05:00
Shayne Boyer
4edbcb06ee misspelling of targeting 2017-02-16 16:10:19 -05:00
Piotr Puszkiewicz
d3d6bdebd1 Merge pull request #5618 from jonsequitur/remove-incorrect-localizations
Remove incorrect localizations
2017-02-16 11:05:36 -08:00
Piotr Puszkiewicz
4feaf3f124 Remove dotnet-restore-projectjson 2017-02-16 01:01:32 -08:00
Livar
d1a844da2c Merge branch 'rel/1.0.0' into dev/jgoshi/dotnetAddDefaultProjectTypeGuid 2017-02-15 14:10:10 -08:00
Justin Goshi
149a4590b5 Do not add duplicate projects (#5698) 2017-02-14 15:47:06 -08:00
Justin Goshi
4d24ae06bb Default to C# project type guid 2017-02-14 14:57:04 -08:00
Rama Krishnan Raghupathy
4fdc72890a Appending dotnet publish xlf 2017-02-13 16:01:16 -08:00
Rama Krishnan Raghupathy
da2cb43949 Adding xlf for dotnet cache 2017-02-13 16:01:10 -08:00