aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 2aae83a..93e2b47 100755
--- a/build.sh
+++ b/build.sh
@@ -21,16 +21,23 @@ export_fonts() {
21 done 21 done
22} 22}
23 23
24export_plugins() {
25 cp -r ligature_plugins build/scientifica/ligature_plugins
26}
27
24main() { 28main() {
25 rm -rf build 29 rm -rf build
26 mkdir -p build/scientifica/{otb,ttf,bdf} 30 mkdir -p build/scientifica/{otb,ttf,bdf}
27 31
32 echo "[~] Exporting ligature plugins ..."
33 export_plugins
34
28 echo "[~] Exporting fonts ..." 35 echo "[~] Exporting fonts ..."
29 export_fonts 36 export_fonts
30 37
31 echo "[~] Entering build directory ..." 38 echo "[~] Entering build directory ..."
32 cd build || echo "[!] Failed to enter build directory!" 39 cd build || echo "[!] Failed to enter build directory!"
33 tar c --file scientifica.tar scientifica 40 tar c --file scientifica.tar scientifica ligature_plugins
34 echo "[~] Leaving build directory ..." 41 echo "[~] Leaving build directory ..."
35 42
36 echo "[!] Done!" 43 echo "[!] Done!"