-
Notifications
You must be signed in to change notification settings - Fork 9
/
minify.sh
33 lines (29 loc) · 780 Bytes
/
minify.sh
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
(
echo '(function () {'
closure --process_common_js_modules \
--common_js_entry_module tengwar.js \
--js \
tengwar.js \
modes.js \
general-use.js \
classical.js \
beleriand.js \
fonts.js \
tengwar-annatar.js \
tengwar-parmaite.js \
dan-smith.js \
column.js \
alphabet.js \
punctuation.js \
numbers.js \
notation.js \
normalize.js \
parser.js \
document-parser.js \
trie.js \
trie-parser.js \
detect-web-font.js
echo '})();'
) | closure > tengwar.min.js
wc -c tengwar.min.js
cat tengwar.min.js | gzip | wc -c