Sha256: 8b8a2a089575c1c5f67c112f50b2bf71a3c0c1bffc0d9ad1fed37bd452ac7870
Contents?: true
Size: 274 Bytes
Versions: 3
Compression:
Stored size: 274 Bytes
Contents
module Rake module DSL def haml_template(tmpl, options) (File.join(options[:output], File.basename(tmpl, '.haml')) + '.html').tap do |html_file| file html_file => tmpl do sh "haml #{tmpl} #{html_file}" end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ggake-0.3.0 | lib/ggake/haml.rb |
ggake-0.2.0 | lib/ggake/haml.rb |
ggake-0.1.0 | lib/ggake/haml.rb |