mirror of
https://github.com/daylinmorgan/monolisa-nerdfont-patch.git
synced 2024-11-12 18:03:14 -06:00
add update-src script
This commit is contained in:
parent
7992363a7d
commit
b8d48f7987
2 changed files with 17 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -4,3 +4,5 @@ MonoLisa/*
|
|||
patched/*
|
||||
|
||||
!**/.gitkeep
|
||||
|
||||
nerd-fonts
|
||||
|
|
15
update-src
Executable file
15
update-src
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
REPO_URL=git@github.com:ryanoasis/nerd-fonts.git
|
||||
|
||||
rm -f nerd-fonts
|
||||
|
||||
git clone --filter=blob:none --no-checkout --depth 1 --sparse $REPO_URL
|
||||
cd nerd-fonts
|
||||
git sparse-checkout add src/glyphs
|
||||
git checkout
|
||||
|
||||
cp font-patcher ../font-patcher
|
||||
cp src/glyphs/** ../src/glyphs -r
|
||||
|
||||
echo "don't forget to commit your changes!"
|
Loading…
Reference in a new issue