Sha256: 15c1ce0c735e06103f00c478a5efe360b644265a35396b8728b3841c611df4f1

Contents?: true

Size: 658 Bytes

Versions: 4

Compression:

Stored size: 658 Bytes

Contents

require 'bundler/gem_tasks'
require 'rake/testtask'

Rake::TestTask.new(:test) do |t|
  t.libs << 'test'
  t.libs << 'lib'
  t.test_files = FileList['test/**/*_test.rb']
end

namespace :build do

  desc 'Build README.md file from README.template.md'
  task :readme do
    require_relative 'lib/markdown_helper'
    markdown_helper = MarkdownHelper.new
    markdown_helper.include('readme_files/highlight_ruby_template.md', 'readme_files/highlighted_ruby.md')
    markdown_helper.include('readme_files/README.template.md', 'README.md')
    markdown_helper.resolve_image_urls('README.md', 'README.md')
  end

end

task :default => :test

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
markdown_helper-0.2.2 Rakefile
markdown_helper-0.2.1 Rakefile
markdown_helper-0.2.0 Rakefile
markdown_helper-0.1.9 Rakefile