@@ -78,25 +78,37 @@ ask the core team for their opinion on the [RabbitMQ users mailing list][rmq-use
78
78
79
79
### Building Source
80
80
81
- To build the projects first, clone the repository. Make sure you clone the
82
- repository and its submodules:
83
-
84
81
It is good practice to make sure you can build the project before making any
85
- changes to confirm that your development environment is set
86
- up correctly. Verifying that the tests pass is also a good practice (see
82
+ changes to confirm that your development environment is set up correctly.
83
+ Verifying that the tests pass is also a good practice (see
87
84
[ RUNNING_TESTS.md] ( /RUNNING_TESTS.md ) ).
88
85
89
86
All together, this looks like:
90
87
88
+ * Linux
89
+
91
90
``` shell
92
91
git clone --recurse-submodules https://github.com/rabbitmq/rabbitmq-dotnet-client
93
92
cd rabbitmq-dotnet-client
94
- dotnet build ./Build.csproj
95
- ./.ci/ubuntu/gha-setup.sh # On any Linux distribution with Docker installed
96
- ./.ci/windows/gha-setup.ps1 # On Windows
93
+
94
+ # On any Linux distribution with Docker installed
95
+ ./.ci/ubuntu/gha-setup.sh toxiproxy pull
96
+
97
+ make build
97
98
make test
98
99
```
99
100
101
+ * Windows
102
+
103
+ Note that this will _ NOT_ run toxiproxy tests.
104
+
105
+ ``` powershell
106
+ git clone --recurse-submodules https://github.com/rabbitmq/rabbitmq-dotnet-client
107
+ cd rabbitmq-dotnet-client
108
+ ./.ci/windows/gha-setup.ps1 # On Windows. Note that this installs RabbitMQ
109
+ .\build.ps1 -RunTests:$true
110
+ ```
111
+
100
112
### Running Tests
101
113
102
114
See [ RUNNING_TESTS.md] ( /RUNNING_TESTS.md ) .
0 commit comments