forked from nowar-fonts/Warcraft-Font-Merger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-mac64.bash
executable file
·95 lines (66 loc) · 2.91 KB
/
build-mac64.bash
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#! /bin/bash
source ./version.bash
VERSION=$VERSION-mac64
clang++ src/merge-otd.cpp src/merge-name.cpp src/ps2tt.cpp src/tt2ps.cpp src/iostream.cpp -Isrc/ -std=c++17 -O3 -s -o bin-mac64/merge-otd
mkdir -p release
cd release
R=字体合并补全工具-简体中文压缩字库-$VERSION
mkdir -p $R
cp ../script-unix/link.url $R/主页-使用说明.url
cp ../bin-mac64/{otfccbuild,otfccdump,merge-otd} $R/
cp ../script-unix/comp.sh $R/补全.command
cp ../script-unix/merge.sh $R/合并.command
cp ../script-unix/merge+comp.sh $R/合并补全.command
cp ../script-unix/pack-zh.sh $R/打包.command
cp ../font/Nowar-Sans-CJK-XS-Regular.ttf $R/cjk.ttf
cp ../font/Nowar-Sans-LCG-Apache-Regular.ttf $R/latin.ttf
tar -cJf $R.tar.xz $R/
cp $R.tar.xz WarFontMerger-SC1-$VERSION.tar.xz
R=字体合并补全工具-简体中文标准字库-$VERSION
mkdir -p $R
cp ../script-unix/link.url $R/主页-使用说明.url
cp ../bin-mac64/{otfccbuild,otfccdump,merge-otd} $R/
cp ../script-unix/comp.sh $R/补全.command
cp ../script-unix/merge.sh $R/合并.command
cp ../script-unix/merge+comp.sh $R/合并补全.command
cp ../script-unix/pack-zh.sh $R/打包.command
cp ../font/Nowar-Sans-CJK-CN-Medium.ttf $R/cjk.ttf
cp ../font/Nowar-Sans-LCG-Medium.ttf $R/latin.ttf
tar -cJf $R.tar.xz $R/
cp $R.tar.xz WarFontMerger-SC2-$VERSION.tar.xz
R=字体合并补全工具-简体中文大字库-$VERSION
mkdir -p $R
cp ../script-unix/link.url $R/主页-使用说明.url
cp ../bin-mac64/{otfccbuild,otfccdump,merge-otd} $R/
cp ../script-unix/comp.sh $R/补全.command
cp ../script-unix/merge.sh $R/合并.command
cp ../script-unix/merge+comp.sh $R/合并补全.command
cp ../script-unix/pack.sh $R/打包.command
cp ../font/Nowar-Sans-CJK-SC-Medium.ttf $R/cjk.ttf
cp ../font/Nowar-Sans-LCG-Medium.ttf $R/latin.ttf
tar -cJf $R.tar.xz $R/
cp $R.tar.xz WarFontMerger-SC3-$VERSION.tar.xz
R=字型合併補全工具-繁體中文大字庫-$VERSION
mkdir -p $R
cp ../script-unix/link.url $R/主頁-使用說明\(簡體\).url
cp ../bin-mac64/{otfccbuild,otfccdump,merge-otd} $R/
cp ../script-unix/comp.sh $R/補全.command
cp ../script-unix/merge.sh $R/合併.command
cp ../script-unix/merge+comp.sh $R/合併補全.command
cp ../script-unix/pack.sh $R/打包.command
cp ../font/Nowar-Sans-CJK-TC-Medium.ttf $R/cjk.ttf
cp ../font/Nowar-Sans-LCG-Medium.ttf $R/latin.ttf
tar -cJf $R.tar.xz $R/
cp $R.tar.xz WarFontMerger-TC-$VERSION.tar.xz
R=字型合併補全工具-傳統字形大字庫-$VERSION
mkdir -p $R
cp ../script-unix/link.url $R/主頁-使用說明\(簡體\).url
cp ../bin-mac64/{otfccbuild,otfccdump,merge-otd} $R/
cp ../script-unix/comp.sh $R/補全.command
cp ../script-unix/merge.sh $R/合併.command
cp ../script-unix/merge+comp.sh $R/合併補全.command
cp ../script-unix/pack.sh $R/打包.command
cp ../font/Nowar-Sans-CJK-CL-Medium.ttf $R/cjk.ttf
cp ../font/Nowar-Sans-LCG-Medium.ttf $R/latin.ttf
tar -cJf $R.tar.xz $R/
cp $R.tar.xz WarFontMerger-Classic-$VERSION.tar.xz