Skip to content

Remove intermediate "client" directory #786

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ UpgradeLog*.htm

# Unit tests

projects/client/Unit*/TestResult.xml
projects/Unit*/TestResult.xml

# Development scripts

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dist: rabbit-vsn ensure-deliverables ensure-universally-readable
rm -f $(RELEASE_DIR)/$(TMPXMLZIP)

test-xbuild-units:
xbuild /nologo /t:RunUnitTests projects/client/Unit/RabbitMQ.Client.Unit.csproj | grep -v "warning CS2002"
xbuild /nologo /t:RunUnitTests projects/Unit/RabbitMQ.Client.Unit.csproj | grep -v "warning CS2002"

test-xbuild: test-xbuild-units

Expand Down
4 changes: 2 additions & 2 deletions RUNNING_TESTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Running individual tests and fixtures on Windows is trivial using the Visual Stu
To run a specific tests fixture on MacOS or Linux, use the NUnit filter expressions to select the tests
to be run:

dotnet test projects/client/Unit --filter "Name~TestAmqpUriParseFail"
dotnet test projects/Unit --filter "Name~TestAmqpUriParseFail"


dotnet test projects/client/Unit --filter "FullyQualifiedName~RabbitMQ.Client.Unit.TestHeartbeats"
dotnet test projects/Unit --filter "FullyQualifiedName~RabbitMQ.Client.Unit.TestHeartbeats"
15 changes: 6 additions & 9 deletions RabbitMQDotNetClient.sln
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,16 @@ VisualStudioVersion = 16.0.29806.167
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "projects", "projects", "{068D7DC3-8E6E-4951-B9E3-272C641BF0DE}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "client", "client", "{ECCBAEE2-24C9-4C95-A88C-03B68E866F0F}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{34486CC0-D61E-46BA-9E5E-6E8EFA7C34B5}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RabbitMQ.Client", "projects\client\RabbitMQ.Client\RabbitMQ.Client.csproj", "{8C554257-5ECC-45DB-873D-560BFBB74EC8}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RabbitMQ.Client", "projects\RabbitMQ.Client\RabbitMQ.Client.csproj", "{8C554257-5ECC-45DB-873D-560BFBB74EC8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Unit", "projects\client\Unit\Unit.csproj", "{B8FAC024-CC03-4067-9FFC-02846FB8AE48}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Unit", "projects\Unit\Unit.csproj", "{B8FAC024-CC03-4067-9FFC-02846FB8AE48}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Apigen", "projects\client\Apigen\Apigen.csproj", "{B416DDB7-5E3E-4A20-B5A9-C6E518E203A2}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Apigen", "projects\Apigen\Apigen.csproj", "{B416DDB7-5E3E-4A20-B5A9-C6E518E203A2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -40,10 +38,9 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{ECCBAEE2-24C9-4C95-A88C-03B68E866F0F} = {068D7DC3-8E6E-4951-B9E3-272C641BF0DE}
{8C554257-5ECC-45DB-873D-560BFBB74EC8} = {ECCBAEE2-24C9-4C95-A88C-03B68E866F0F}
{B8FAC024-CC03-4067-9FFC-02846FB8AE48} = {ECCBAEE2-24C9-4C95-A88C-03B68E866F0F}
{B416DDB7-5E3E-4A20-B5A9-C6E518E203A2} = {ECCBAEE2-24C9-4C95-A88C-03B68E866F0F}
{8C554257-5ECC-45DB-873D-560BFBB74EC8} = {068D7DC3-8E6E-4951-B9E3-272C641BF0DE}
{B8FAC024-CC03-4067-9FFC-02846FB8AE48} = {068D7DC3-8E6E-4951-B9E3-272C641BF0DE}
{B416DDB7-5E3E-4A20-B5A9-C6E518E203A2} = {068D7DC3-8E6E-4951-B9E3-272C641BF0DE}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {3C6A0C44-FA63-4101-BBF9-2598641167D1}
Expand Down
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@ECHO OFF
set DOTNET_CLI_TELEMETRY_OPTOUT=1
dotnet restore .\RabbitMQDotNetClient.sln
dotnet run -p .\projects\client\Apigen\Apigen.csproj --apiName:AMQP_0_9_1 .\docs\specs\amqp0-9-1.stripped.xml .\gensrc\autogenerated-api-0-9-1.cs
dotnet run -p .\projects\Apigen\Apigen.csproj --apiName:AMQP_0_9_1 .\docs\specs\amqp0-9-1.stripped.xml .\gensrc\autogenerated-api-0-9-1.cs
dotnet build .\RabbitMQDotNetClient.sln
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi
cd "$script_dir"

dotnet restore ./RabbitMQDotNetClient.sln
dotnet run -p ./projects/client/Apigen/Apigen.csproj --apiName:AMQP_0_9_1 \
dotnet run -p ./projects/Apigen/Apigen.csproj --apiName:AMQP_0_9_1 \
./docs/specs/amqp0-9-1.stripped.xml \
./gensrc/autogenerated-api-0-9-1.cs
dotnet build ./RabbitMQDotNetClient.sln
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
<MinVerTagPrefix>v</MinVerTagPrefix>
<MinVerVerbosity>minimal</MinVerVerbosity>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageOutputPath>..\..\..\packages</PackageOutputPath>
<PackageOutputPath>..\..\packages</PackageOutputPath>
</PropertyGroup>

<ItemGroup>
<Compile Include="..\..\..\gensrc\autogenerated-api-0-9-1.cs" />
<Compile Include="..\..\gensrc\autogenerated-api-0-9-1.cs" />
<None Remove="icon.png" />
<Content Include="icon.png" PackagePath="" />
<None Include="..\..\..\LICENSE" Pack="true" PackagePath="" />
<None Include="..\..\LICENSE" Pack="true" PackagePath="" />
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>Unit, PublicKey=00240000048000009400000006020000002400005253413100040000010001008d20ec856aeeb8c3153a77faa2d80e6e43b5db93224a20cc7ae384f65f142e89730e2ff0fcc5d578bbe96fa98a7196c77329efdee4579b3814c0789e5a39b51df6edd75b602a33ceabdfcf19a3feb832f31d8254168cd7ba5700dfbca301fbf8db614ba41ba18474de0a5f4c2d51c995bc3636c641c8cbe76f45717bfcb943b5</_Parameter1>
</AssemblyAttribute>
Expand Down
Binary file added projects/RabbitMQ.Client/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -436,11 +436,11 @@ internal Process ExecRabbitMQCtl(string args)
}
else if (IsRunningOnMonoOrDotNetCore())
{
rabbitmqctlPath = "../../../../../../../rabbit/scripts/rabbitmqctl";
rabbitmqctlPath = "../../../../../../rabbit/scripts/rabbitmqctl";
}
else
{
rabbitmqctlPath = @"..\..\..\..\..\..\..\rabbit\scripts\rabbitmqctl.bat";
rabbitmqctlPath = @"..\..\..\..\..\..\rabbit\scripts\rabbitmqctl.bat";
}

return ExecCommand(rabbitmqctlPath, args);
Expand Down
Binary file removed projects/client/RabbitMQ.Client/icon.png
Binary file not shown.
File renamed without changes.