Created
February 2, 2014 03:06
-
-
Save ArthurN/8762510 to your computer and use it in GitHub Desktop.
Compile pdf.js using Google Closure API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -v -d code_url=http://mozilla.github.io/pdf.js/build/pdf.js -d compilation_level=SIMPLE_OPTIMIZATIONS -d output_info=errors -d output_format=text -d language=ECMASCRIPT5 http://closure-compiler.appspot.com/compile | |
curl -v -d code_url=http://mozilla.github.io/pdf.js/build/pdf.js -d compilation_level=SIMPLE_OPTIMIZATIONS -d output_info=compiled_code -d output_format=text -d language=ECMASCRIPT5 http://closure-compiler.appspot.com/compile > pdf.min.js | |
curl -v -d code_url=http://mozilla.github.io/pdf.js/build/pdf.worker.js -d compilation_level=SIMPLE_OPTIMIZATIONS -d output_info=compiled_code -d output_format=text -d language=ECMASCRIPT5 http://closure-compiler.appspot.com/compile > pdf.worker.min.js | |
curl -v -d code_url=http://mozilla.github.io/pdf.js/web/viewer.js -d compilation_level=SIMPLE_OPTIMIZATIONS -d output_info=compiled_code -d output_format=text -d language=ECMASCRIPT5 http://closure-compiler.appspot.com/compile > viewer.min.js | |
curl -v -d code_url=http://mozilla.github.io/pdf.js/web/l10n.js -d compilation_level=SIMPLE_OPTIMIZATIONS -d output_info=compiled_code -d output_format=text -d language=ECMASCRIPT5 http://closure-compiler.appspot.com/compile > l10n.min.js | |
curl -v -d code_url=http://mozilla.github.io/pdf.js/web/compatibility.js -d compilation_level=SIMPLE_OPTIMIZATIONS -d output_info=compiled_code -d output_format=text -d language=ECMASCRIPT5 http://closure-compiler.appspot.com/compile > compatibility.min.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment