Debian Codegraph @

CONTRIBUTING.md

raw symbols SCIP
1 # Notes on contributing to delta
2
3 First off, thank you for considering contributing to delta.
4
5 If your contribution is not straightforward, please first discuss the change you
6 wish to make by creating a new issue before making the change.
7
8 ## The codebase
9
10 Take a look at [ARCHITECTURE.md](./ARCHITECTURE.md).
11
12 ## Set up
13
14 This is no different than other Rust projects.
15
16 ```shell
17 git clone https://github.com/dandavison/delta/
18 cd delta
19 cargo build --release
20 ```
21
22 The executable is then at `./target/release/delta`.
23
24 ## Useful Commands
25
26 - Run all tests:
27
28 ```shell
29 make test
30 ```
31
32 - Run Clippy:
33
34 ```shell
35 cargo clippy
36 ```
37
38 - Check to see if there are code formatting issues
39
40 ```shell
41 cargo fmt -- --check
42 ```
43
44 - Format the code in the project
45
46 ```shell
47 cargo fmt
48 ```
49
50 - Debug build
51
52 A "debug" build can be built using `cargo build` and
53 `./target/debug/delta`. This is faster to compile, but has much worse
54 performance than the release build.