mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-21 20:50:07 +00:00
..
This commit is contained in:
parent
5c37c0ca98
commit
1d42f31fee
@ -10,7 +10,14 @@ BASEDIR=$(dirname $0)
|
||||
OUTPUT="$BASEDIR/../pdf2htmlEX.js"
|
||||
|
||||
(echo 'Building pdf2htmlEX.js with closure-compiler...' && \
|
||||
java -jar "$BASEDIR/../../3rdparty/closure-compiler/compiler.jar" --compilation_level ADVANCED_OPTIMIZATIONS --process_jquery_primitives --externs "$BASEDIR/../jquery.js" --js "$BASEDIR/header.js" --js "$BASEDIR/css_class_names.js" --js "$BASEDIR/viewer.js" > "$OUTPUT" 2>/dev/null && \
|
||||
java -jar "$BASEDIR/../../3rdparty/closure-compiler/compiler.jar" \
|
||||
--compilation_level ADVANCED_OPTIMIZATIONS \
|
||||
--process_jquery_primitives \
|
||||
--externs "$BASEDIR/../jquery.js" \
|
||||
--js "$BASEDIR/header.js" \
|
||||
--js "$BASEDIR/css_class_names.js" \
|
||||
--js "$BASEDIR/viewer.js" \
|
||||
--js_output_file "$OUTPUT" 2>/dev/null && \
|
||||
echo 'Done.') || \
|
||||
(echo 'Failed. Read `3rdparty/closure-compiler/README` for more detail.' && \
|
||||
echo 'Fall back to naive concatenation' && \
|
||||
|
Loading…
Reference in New Issue
Block a user