File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ REPO=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd )
4+
5+ function logo () {
6+ echo -n ' data%3Aimage%2Fsvg%2Bxml%3Bbase64%2C'
7+ basenc --base64 --wrap=0 " ${REPO} /logo-${1} .svg" | sed -E -e ' s/\+/%2B/g' -e ' s/=/%3D/g'
8+ }
9+
10+ curl -o " ${REPO} /../../static/images/discordchat.svg" \
11+ " https://img.shields.io/discord/431917998102675485?style=plastic&color=%238f8fff&logo=$( logo discord) "
12+
13+ curl -o " ${REPO} /../../static/images/mitlicense.svg" \
14+ " https://img.shields.io/badge/license-MIT-skyblue?style=plastic&logo=$( logo mitlicense) "
15+
16+ curl -o " ${REPO} /../../static/images/readthedocs.svg" \
17+ " https://img.shields.io/badge/read_the-docs-2196f3?style=plastic&labelColor=gray&logo=$( logo readthedocs) "
18+
19+ curl -o " ${REPO} /../../static/images/swift57up.svg" \
20+ " https://img.shields.io/badge/swift-5.7%2B-white?style=plastic&logoColor=%23f07158&labelColor=gray&color=%23f07158&logo=$( logo swift57up) "
21+
22+ curl -o " ${REPO} /../../static/images/sswg-graduated.svg" \
23+ " https://img.shields.io/badge/sswg-graduated-white?style=plastic&labelColor=gray&color=%23e01595&logo=$( logo sswg) "
24+
25+ curl -o " ${REPO} /../../static/images/sswg-incubating.svg" \
26+ " https://img.shields.io/badge/sswg-incubating-white?style=plastic&labelColor=gray&color=%23f8c5e6&logo=$( logo sswg) "
27+
28+ curl -o " ${REPO} /../../static/images/sswg-sandbox.svg" \
29+ " https://img.shields.io/badge/sswg-sandbox-white?style=plastic&labelColor=gray&color=%23fff2fa&logo=$( logo sswg) "
You can’t perform that action at this time.
0 commit comments