aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-04-14 06:40:05 +0100
committerAkshay <[email protected]>2020-04-14 06:40:05 +0100
commit86dfb2b9201a4690aa11101e8060d55a2166d279 (patch)
tree89650fb94f50f72b68e3564fb97e770b2e81c69b /build.sh
parent246206019bc72b9119b7043cadd61cf4ea0604a0 (diff)
modify build script to package ligatures
Diffstat (limited to 'build.sh')
-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!"