Sha256: 6cb6a9479a20f21fd3ace26a72549afcd9533ab52e528970f7a2ca8310c91f17

Contents?: true

Size: 678 Bytes

Versions: 1

Compression:

Stored size: 678 Bytes

Contents

require "json"
require "bundler/gem_tasks"
require "rake/testtask"

Rake::TestTask.new do |t|
  t.libs << "test"
  t.pattern = "test/**/*_test.rb"
end

task :default => :test

desc "copy README.md into gh-page content"
task :readme_to_ghpage do
  File.open "params.json", "w" do |file|
    params = {
      name:     "RenderAsMarkdown",
      tagline:  "This gem is a Markdown helper that renders well formatted Markdown for bigger Markdown elements like tables",
      body:     File.read('README.md'),
      google:   "UA-44998391-1",
      note:     "Don't delete this file! It's used internally to help with page regeneration."
    }
    file.write params.to_json
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
render-as-markdown-0.0.6 Rakefile