How to integrate Google Closure Compiler as a build step in Visual Studio 2010
Is there any reference or tutorial for this? And if it's possible, have the javascript file being built only if the file is modified.
You might be able to try this:
http://closurecompiler.codeplex.com/documentation,
But I couldn't get it to work and ended up writing a batch file and hooked it up as a post-build process in the project properties. I've been pretty happy with that solution as it allows me to easily (and in a more standardized fashion) tweak the closure parameters. And any errors from it get reported to you whenever you build.
链接地址: http://www.djcxy.com/p/7590.html上一篇: 为编程语言编写代码格式化工具