Sha256: 4cb0295ec207985709cb6272944b20328f09965b36f3100fd9d270405fb9de00
Contents?: true
Size: 284 Bytes
Versions: 6
Compression:
Stored size: 284 Bytes
Contents
module Rake module DSL def coffee(input, options) File.join(options[:output], File.basename(input)).ext('js').tap do |js_file| file js_file => input do sh "coffee --compile --output #{options[:output]} #{input}" end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems