1
0
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:
Dylan Araps 2020-03-12 16:59:43 +02:00
parent 4ced0c5c26
commit ddfe11abd0
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

11
contrib/kiss-cargo-urlgen Executable file
View 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