Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (12 sloc) 0.365 kB
task :default => :all
task :all do
Dir.glob('**/*.txt').each do |src|
Dir.chdir(File.dirname(src)) do
src = File.basename(src)
dest = src.sub(/\.txt/, '.html')
if !File.exist?(dest) or File.mtime(src) > File.mtime(dest)
sh "mizuho -a max-width=55em --icons-dir \"../../icons\" \"#{src}\" -o \"#{dest}\""
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.