File: CONTRIBUTING.md

package info (click to toggle)
golang-github-microsoft-dev-tunnels 0.0.25-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,988 kB
  • sloc: cs: 9,969; java: 2,767; javascript: 328; xml: 186; makefile: 5
file content (13 lines) | stat: -rw-r--r-- 715 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# Contributing

Rust contracts are generated from C# code located in the `cs` folder within this repo. They're generated by `RustContractWriter.cs` as part of the build, which you can trigger via:

```
dotnet build --no-incremental
```

We then have some end-to-end tests in the management client. These can be executed by first setting a the `TUNNEL_TEST_CLIENT_ID` to some valid AAD app ID, and then running `cargo test --features end_to_end -- --nocapture`. The first time you run the tests, you will be prompted to log in with device code authentication.

## Code Style and Formatting

Before checking in, please run `cargo fmt` to format your changes (or use an IDE with a Rust analyzer to format your files).