Skip to content

Instantly share code, notes, and snippets.

@scottwb
Created July 1, 2012 04:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottwb/3026787 to your computer and use it in GitHub Desktop.
Save scottwb/3026787 to your computer and use it in GitHub Desktop.
namespace :coffee do
task :compile, :filename do |t, args|
filename = args.filename
puts CoffeeScript.compile(File.open(filename))
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment