monolisa-nerdfont-patch/bin/update-src

16 lines
354 B
Text
Raw Normal View History

2021-12-22 16:34:04 -06:00
#!/usr/bin/env bash
2023-01-16 11:24:28 -06:00
REPO_URL='https://github.com/ryanoasis/nerd-fonts.git'
2021-12-22 16:34:04 -06:00
2021-12-22 16:54:18 -06:00
rm -rf nerd-fonts
2021-12-22 16:34:04 -06:00
git clone --filter=blob:none --no-checkout --depth 1 --sparse $REPO_URL
2023-01-07 10:14:43 -06:00
cd nerd-fonts || exit
2021-12-22 16:34:04 -06:00
git sparse-checkout add src/glyphs
git checkout
2022-08-12 13:37:15 -05:00
cp font-patcher ../bin/font-patcher
2021-12-22 16:34:04 -06:00
cp src/glyphs/** ../src/glyphs -r
echo "don't forget to commit your changes!"