1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-07 17:06:25 +02:00
nerd-fonts/bin/scripts/get-font-names-from-json.sh
2023-01-24 15:56:06 +00:00

17 lines
467 B
Bash
Executable File

#!/usr/bin/env bash
# Nerd Fonts Version: 2.3.3
# 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