diff options
author | Jesús <heckyel@hyperbola.info> | 2018-07-11 18:55:18 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2018-07-11 18:55:18 -0500 |
commit | 1334b6e6504b814a66b648673075edf9e59a5ccb (patch) | |
tree | 02696701fcfa8440133a1d564ac09a4fdc5545ee | |
parent | 2044de5153c7fa8cfc7632f506811b20392001f7 (diff) | |
download | libresocial-1334b6e6504b814a66b648673075edf9e59a5ccb.tar.lz libresocial-1334b6e6504b814a66b648673075edf9e59a5ccb.tar.xz libresocial-1334b6e6504b814a66b648673075edf9e59a5ccb.zip |
build.sh is added
for simple compilation
-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 |