| 1 |
@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 kbknapp --repo term_size-rs --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 |
|
| 14 |
run-test TEST: |
| 15 |
cargo test --test {{TEST}} |
| 16 |
|
| 17 |
debug TEST: |
| 18 |
cargo test --test {{TEST}} --features debug |
| 19 |
|
| 20 |
run-tests: |
| 21 |
cargo test --features "yaml unstable" |
| 22 |
|
| 23 |
@bench: nightly |
| 24 |
cargo bench && just remove-nightly |
| 25 |
|
| 26 |
nightly: |
| 27 |
rustup override add nightly |
| 28 |
|
| 29 |
remove-nightly: |
| 30 |
rustup override remove |
| 31 |
|
| 32 |
@lint: nightly |
| 33 |
cargo build --features lints && just remove-nightly |
| 34 |
|
| 35 |
clean: |
| 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 {} \; |