12 lines
390 B
Bash
12 lines
390 B
Bash
#!/bin/sh
|
|
# -*- coding: utf-8 -*-
|
|
|
|
mkdir -p min
|
|
|
|
terser Hyphenopoly_Loader.js -o min/Hyphenopoly_Loader.js --comments -c -m --warn
|
|
terser Hyphenopoly.js -o min/Hyphenopoly.js --comments -c -m --warn
|
|
terser hyphenEngine.asm.js -o min/hyphenEngine.asm.js --comments -c -m --warn --verbose
|
|
|
|
cp hyphenEngine.wasm min/hyphenEngine.wasm
|
|
cp -R patterns/ min/patterns
|
|
cp -R testsuite/ min/testsuite |