File tree Expand file tree Collapse file tree 3 files changed +43
-2
lines changed Expand file tree Collapse file tree 3 files changed +43
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "erlang" : " 25.3" ,
3
- "rabbitmq" : " 3.11.11 "
2
+ "erlang" : " 25.3.1 " ,
3
+ "rabbitmq" : " 3.11.15 "
4
4
}
Original file line number Diff line number Diff line change
1
+ <Project Sdk =" Microsoft.Build.Traversal/3.2.0" >
2
+
3
+ <PropertyGroup >
4
+ <IsPackable >false</IsPackable >
5
+ <MinVerSkip >true</MinVerSkip >
6
+ </PropertyGroup >
7
+
8
+ <ItemGroup >
9
+ <ProjectReference Include =" projects/Benchmarks/Benchmarks.csproj" />
10
+ <ProjectReference Include =" projects/RabbitMQ.Client/RabbitMQ.Client.csproj" />
11
+ <ProjectReference Include =" projects/TestApplications/CreateChannel/CreateChannel.csproj" />
12
+ <ProjectReference Include =" projects/TestApplications/MassPublish/MassPublish.csproj" />
13
+ <ProjectReference Include =" projects/Unit/Unit.csproj" />
14
+ </ItemGroup >
15
+
16
+ </Project >
Original file line number Diff line number Diff line change
1
+ [CmdletBinding (PositionalBinding = $false )]
2
+ param (
3
+ [switch ]$RunTests
4
+ )
5
+
6
+ Write-Host " Run Parameters:" - ForegroundColor Cyan
7
+ Write-Host " `t PSScriptRoot: $PSScriptRoot "
8
+ Write-Host " `t RunTests: $RunTests "
9
+ Write-Host " `t dotnet --version: $ ( dotnet -- version) "
10
+
11
+ Write-Host " Building all projects (Build.csproj traversal)..." - ForegroundColor " Magenta"
12
+ dotnet build " $PSScriptRoot \Build.csproj"
13
+ Write-Host " Done building." - ForegroundColor " Green"
14
+
15
+ if ($RunTests ) {
16
+ Write-Host " Running tests: Build.csproj traversal (all frameworks)" - ForegroundColor " Magenta"
17
+ dotnet test " $PSScriptRoot \Build.csproj" -- no- build -- logger " console;verbosity=detailed"
18
+ if ($LastExitCode -ne 0 ) {
19
+ Write-Host " Error with tests, aborting build." - Foreground " Red"
20
+ Exit 1
21
+ }
22
+ Write-Host " Tests passed!" - ForegroundColor " Green"
23
+ }
24
+
25
+ Write-Host " Done."
You can’t perform that action at this time.
0 commit comments