diff options
-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!" |