diff options
author | Akshay <[email protected]> | 2020-04-14 06:40:05 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-04-14 06:40:05 +0100 |
commit | 86dfb2b9201a4690aa11101e8060d55a2166d279 (patch) | |
tree | 89650fb94f50f72b68e3564fb97e770b2e81c69b | |
parent | 246206019bc72b9119b7043cadd61cf4ea0604a0 (diff) |
modify build script to package ligatures
-rwxr-xr-x | build.sh | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -21,16 +21,23 @@ export_fonts() { | |||
21 | done | 21 | done |
22 | } | 22 | } |
23 | 23 | ||
24 | export_plugins() { | ||
25 | cp -r ligature_plugins build/scientifica/ligature_plugins | ||
26 | } | ||
27 | |||
24 | main() { | 28 | main() { |
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!" |