nerd-fonts/bin/scripts/get-font-names-from-json.sh
2022-10-07 11:55:35 +00:00

16 lines
470 B
Bash
Executable file

#!/usr/bin/env bash
# Nerd Fonts Version: 2.3.0-RC
# Script Version: 1.1.0
# Gets all the font folder names to build the matrix for the github actions
# used for debugging
# set -x
main() {
# for testing a small subset (useful to prove out significant changes w/o all font overhead):
# jq '.fonts | .[] | .folderName' lib/fonts-small-subset.json | jq -sc
# add all the fonts to the matrix:
jq '.fonts | .[] | .folderName' lib/fonts.json | jq -sc
}
main; exit