Sha256: a09fa998f96748f1d7c352449e221b301358a2b08674ac409b32ad0fe8fb8267
Contents?: true
Size: 445 Bytes
Versions: 15
Compression:
Stored size: 445 Bytes
Contents
require 'bundler' Bundler::GemHelper.install_tasks require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task :default => [:spec, :proof_readme] task :proof_readme do require 'html/proofer' require 'redcarpet' redcarpet = Redcarpet::Markdown.new Redcarpet::Render::HTML.new({}), {} html = redcarpet.render File.read('README.md') mkdir_p 'out' File.write('out/README.html', html) HTML::Proofer.new('./out').run end
Version data entries
15 entries across 15 versions & 1 rubygems