Sha256: 20f239c258c58e08c849a971c25b250c0260776fb010d5240524c48380ef7d2a

Contents?: true

Size: 583 Bytes

Versions: 26

Compression:

Stored size: 583 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"


desc 'Update the "Steps" section of the README'
task "update_readme" do
  require 'support/documentation_generator'
  readme = File.read('README.md')
  start_of_steps_section = readme =~ /^## Steps/
  length_of_steps_section = (readme[(start_of_steps_section+1)..-1] =~ /^##[^#]/) || readme.size - start_of_steps_section
  readme[start_of_steps_section, length_of_steps_section] = "## Steps\n\n" + DocumentationGenerator::StepDefinitionsDirectory.new('lib/spreewald').format
  File.open('README.md', 'w') { |f| f.write(readme) }
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
spreewald-0.5.10 Rakefile
spreewald-0.5.9 Rakefile
spreewald-0.5.8 Rakefile
spreewald-0.5.7 Rakefile
spreewald-0.5.6 Rakefile
spreewald-0.5.5 Rakefile
spreewald-0.5.4 Rakefile
spreewald-0.5.3 Rakefile
spreewald-0.5.2 Rakefile
spreewald-0.5.1 Rakefile
spreewald-0.5.0 Rakefile
spreewald-0.4.6 Rakefile
spreewald-0.4.5 Rakefile
spreewald-0.4.4 Rakefile
spreewald-0.4.3 Rakefile
spreewald-0.4.2 Rakefile
spreewald-0.4.1 Rakefile
spreewald-0.4.0 Rakefile
spreewald-0.3.10 Rakefile
spreewald-0.3.9 Rakefile