4 ms·
They are pretty much the same: file 'blogpost.html' # we want to produce blogpost.html # this rule specifies how to build # any .html from the sourc
by matt4077 9y ago
They are pretty much the same:
file 'blogpost.html' # we want to produce blogpost.html
# this rule specifies how to build
# any .html from the source
rule ".html" => ".md" do |t|
sh "pandoc -o #{t.name} #{t.source}"
end