diff options
-rwxr-xr-x | build.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..5a13c16 --- /dev/null +++ b/build.sh @@ -0,0 +1,14 @@ +#!/bin/sh +# Generated of fonts +# +# build +if [[ -n "$(ls -a ./lab/)" && -f ./lab/metadata.json && -f ./lab/svgs2ttf.py ]]; +then + ./lab/svgs2ttf.py ./lab/metadata.json +fi + +# copy files to fonts +if [[ -n "$(ls -a ./lab/libresocial.{svg,otf,ttf,woff})" ]]; +then + mv -fv ./lab/libresocial.{svg,otf,ttf,woff} ./fonts/ +fi |