Skip to content

Instantly share code, notes, and snippets.

@eric
Created November 16, 2010 09:53
Show Gist options
  • Save eric/701639 to your computer and use it in GitHub Desktop.
Save eric/701639 to your computer and use it in GitHub Desktop.
require 'closure-compiler'
task :copy do
IO.popen('pbcopy', 'w') do |io|
io << Closure::Compiler.new.compile(IO.popen("coffee -p *.coffee"))
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment