blob: 0768764b30c29b8f8297799da531e062ebc73072 [file] [log] [blame]
Matthew Maurer43ab1612020-06-02 11:15:01 -07001@update-contributors:
2 echo 'Removing old CONTRIBUTORS.md'
3 mv CONTRIBUTORS.md CONTRIBUTORS.md.bak
4 echo 'Downloading a list of new contributors'
5 echo "the following is a list of contributors:" > CONTRIBUTORS.md
6 echo "" >> CONTRIBUTORS.md
7 echo "" >> CONTRIBUTORS.md
8 githubcontrib --owner clap-rs --repo clap --sha master --cols 6 --format md --showlogin true --sortBy contributions --sortOrder desc >> CONTRIBUTORS.md
9 echo "" >> CONTRIBUTORS.md
10 echo "" >> CONTRIBUTORS.md
11 echo "This list was generated by [mgechev/github-contributors-list](https://github.com/mgechev/github-contributors-list)" >> CONTRIBUTORS.md
12 rm CONTRIBUTORS.md.bak
13
14run-test TEST:
15 cargo test --test {{TEST}}
16
17debug TEST:
18 cargo test --test {{TEST}} --features debug
19
20run-tests:
21 cargo test --features "yaml unstable"
22
23@bench: nightly
24 cargo bench && just remove-nightly
25
26nightly:
27 rustup override add nightly
28
29remove-nightly:
30 rustup override remove
31
32@lint: nightly
33 cargo build --features lints && just remove-nightly
34
35clean:
36 cargo clean
37 find . -type f -name "*.orig" -exec rm {} \;
38 find . -type f -name "*.bk" -exec rm {} \;
39 find . -type f -name ".*~" -exec rm {} \;