public

How to make Google's closure a command line executable for awesomeness

  • Download Gist
1. Making closure an executable.md
Markdown
  • Download Closure
  • Place the java jar file within /usr/local/libexec
  • Create /usr/local/bin/closure, copy in the bash script shown below
  • Run chmod +x /usr/local/bin/closure

Enjoy running closure

closure
Shell
1 2
#!/bin/bash
java -jar /usr/local/libexec/compiler.jar $@

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.