简体   繁体   中英

Google Closure *.bat for post-build?

Just wondering how I would prepare [or if anyone already has some code they can share] for a *.bat or *.exe tool for Google Closure online ? I'm trying to simply run a *.bat file with a list of javascripts

/path/js1.js
/path/js2.js
/path/js3.js

Which would send to the Google Closure API and then compress this list of files ? It will allow for easier monitoring and updating ?

If you are willing to run an EXE you can use the command-line version of the compiler: http://code.google.com/closure/compiler/docs/gettingstarted_app.html

It can be downloaded here: http://code.google.com/p/closure-compiler/downloads/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM