1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-13 17:18:37 +02:00
nerd-fonts/bin/scripts/get-font-names-from-json.sh

17 lines
467 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2022-09-07 10:05:53 +02:00
# Nerd Fonts Version: 2.2.2
# Script Version: 1.1.0
# Gets all the font folder names to build the matrix for the github actions
# used for debugging
# set -x
2021-11-26 16:46:46 +02:00
main() {
# for testing a small subset (useful to prove out significant changes w/o all font overhead):
2022-01-03 15:50:08 +02:00
# jq '.fonts | .[] | .folderName' lib/fonts-small-subset.json | jq -sc
# add all the fonts to the matrix:
2022-01-03 15:50:08 +02:00
jq '.fonts | .[] | .folderName' lib/fonts.json | jq -sc
2021-11-26 16:46:46 +02:00
}
main; exit