Using the GetBundles bundle
This bundle should be available to install via the GetBundles bundle. Just look for the 'Google Closure Compiler'.
From a source archive
Simply grab a copy of the bundle from http://github.com/mattkirman/GoogleClosureCompiler-tmbundle/downloads, extract and double-click to install. You may have to rename the extracted file/folder to 'Google Closure Compiler.tmbundle' otherwise OS X will not treat is as a TextMate bundle.
There are 3 steps to getting everything working:
Unzip the Google Closure Compiler and copy the
.jarfile from the
compiler-latestfolder to a location of your choosing (make a note of where you saved it).
Preferences...item in this bundle and replace the text
/absolute/path/to/google_closure_compiler.jarwith the actual path to your
.jarfile. It must be an absolute path,
Select the files you want to run through the Google Closure Compiler in the Project Drawer and execute the command using ⇧⌘G (cmd-shift-G)
The compiled files share the same root as the filename, with the addition of
-compiled before the file extension. For example:
If you are compiling more than one file then they will be saved into a single file. For example:
Existing files with the same name will be overwritten without warning.
For more information read
Help in the installed bundle.