nerd-fonts/bin/scripts/lib/i_all.sh
Fini Jastrow 1f70d5bc3a generate-css: Create cheat sheet with removed icons
With v3.0.0 we removed some icons and some codepoints have been reused
for a different (expanding) set. We want to show the old (removed) icons
correctly and the new ones also, so we need the old and the new font for
the webpage and reference it accordingly.

For the a new style .nfold (read: nd-olf) is introduced and utilized.

See pairing commit in the gh-pages branch:
    Date:   Thu May 4 06:01:33 2023 +0200
    Update cheat sheet WITH removed icons

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-04 12:42:14 +02:00

20 lines
558 B
Bash

#!/usr/bin/env bash
# Nerd Fonts Version: 3.0.0
# Script Version 1.2.0
# Usually this is called without argument. If the first argument
# is 'include-old-material' the old material design icons will be
# included. This is needed for the cheat sheet.
sets=('cod' 'dev' 'fae' 'fa' 'iec' 'logos' 'oct' 'ple' 'pom' 'seti' 'weather' 'md')
base=$(dirname "${BASH_SOURCE[0]:-$0}")
if [ "$1" = "include-old-material" ]; then
sets=(${sets[@]} 'material')
fi
for set in ${sets[@]}; do
i="${base}/i_${set}.sh"
test -f "$i" -a -r "$i" && source "$i"
done
unset i