2021-11-26 16:46:46 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
main() {
|
|
|
|
# json=()
|
|
|
|
# for i in $(jq '.fonts | keys | .[]' lib/fonts.json); do
|
|
|
|
# fontName=$(jq -r ".fonts[$i].patchedName" lib/fonts.json);
|
|
|
|
# json+=("$fontName");
|
|
|
|
# done
|
|
|
|
# # echo "${json[@]}"
|
|
|
|
# # printf '%s\n' "${json[@]}" | jq tojson | jq -R . | jq -s .
|
|
|
|
# # printf '%s\n' "${json[@]}" | jq -R . | jq -s .
|
|
|
|
# # stringified json:
|
|
|
|
# # printf '%s\n' "${json[@]}" | jq -R . | jq -s . | jq tojson
|
|
|
|
# echo "${json[@]}"
|
2021-11-26 19:52:56 +02:00
|
|
|
# @TODO uncomment and use FULL set once kinks worked out for Release Candidate Workflow
|
|
|
|
# jq '.fonts | .[] | .folderName' lib/fonts.json | jq -sc
|
2021-12-31 16:54:14 +02:00
|
|
|
# for testing:
|
2022-01-01 16:47:57 +02:00
|
|
|
jq '.fonts | .[] | .folderName' lib/fonts-small-subset.json | jq -sc
|
2021-12-31 16:54:14 +02:00
|
|
|
# do all the fonts:
|
2022-01-01 16:47:57 +02:00
|
|
|
# jq '.fonts | .[] | .folderName' lib/fonts.json | jq -sc
|
2021-11-26 16:46:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
main; exit
|