summaryrefslogtreecommitdiffstats
path: root/vendor/clap-2.34.0/justfile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:42 +0000
commit837b550238aa671a591ccf282dddeab29cadb206 (patch)
tree914b6b8862bace72bd3245ca184d374b08d8a672 /vendor/clap-2.34.0/justfile
parentAdding debian version 1.70.0+dfsg2-1. (diff)
downloadrustc-837b550238aa671a591ccf282dddeab29cadb206.tar.xz
rustc-837b550238aa671a591ccf282dddeab29cadb206.zip
Merging upstream version 1.71.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/clap-2.34.0/justfile')
-rw-r--r--vendor/clap-2.34.0/justfile39
1 files changed, 39 insertions, 0 deletions
diff --git a/vendor/clap-2.34.0/justfile b/vendor/clap-2.34.0/justfile
new file mode 100644
index 000000000..0768764b3
--- /dev/null
+++ b/vendor/clap-2.34.0/justfile
@@ -0,0 +1,39 @@
+@update-contributors:
+ echo 'Removing old CONTRIBUTORS.md'
+ mv CONTRIBUTORS.md CONTRIBUTORS.md.bak
+ echo 'Downloading a list of new contributors'
+ echo "the following is a list of contributors:" > CONTRIBUTORS.md
+ echo "" >> CONTRIBUTORS.md
+ echo "" >> CONTRIBUTORS.md
+ githubcontrib --owner clap-rs --repo clap --sha master --cols 6 --format md --showlogin true --sortBy contributions --sortOrder desc >> CONTRIBUTORS.md
+ echo "" >> CONTRIBUTORS.md
+ echo "" >> CONTRIBUTORS.md
+ echo "This list was generated by [mgechev/github-contributors-list](https://github.com/mgechev/github-contributors-list)" >> CONTRIBUTORS.md
+ rm CONTRIBUTORS.md.bak
+
+run-test TEST:
+ cargo test --test {{TEST}}
+
+debug TEST:
+ cargo test --test {{TEST}} --features debug
+
+run-tests:
+ cargo test --features "yaml unstable"
+
+@bench: nightly
+ cargo bench && just remove-nightly
+
+nightly:
+ rustup override add nightly
+
+remove-nightly:
+ rustup override remove
+
+@lint: nightly
+ cargo build --features lints && just remove-nightly
+
+clean:
+ cargo clean
+ find . -type f -name "*.orig" -exec rm {} \;
+ find . -type f -name "*.bk" -exec rm {} \;
+ find . -type f -name ".*~" -exec rm {} \;