forked from kiss-community/kiss
contrib: Added kiss-cargo-urlgen
This commit is contained in:
parent
4ced0c5c26
commit
ddfe11abd0
11
contrib/kiss-cargo-urlgen
Executable file
11
contrib/kiss-cargo-urlgen
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ "$1" ] || {
|
||||||
|
printf 'usage: kiss-carg-urlgen [crate-ver] [crate-ver]\n'
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
for crate in "$@"; do
|
||||||
|
printf 'https://static.crates.io/crates/%s/%s.crate vendor\n' \
|
||||||
|
"${crate%-*}" "$crate"
|
||||||
|
done
|
Loading…
Reference in New Issue
Block a user