mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-23 07:30:16 -07:00
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