Sha256: 1a317ab536c3ad37f18369b5b29b9cf55230d2581d785672f3d7a60e3adad83a

Contents?: true

Size: 655 Bytes

Versions: 8

Compression:

Stored size: 655 Bytes

Contents

require "bundler/gem_tasks"

Pathname.glob("lib/source2md/tasks/**/*.rake").each { |file| load(file) }

task :g => "doc:generate"
task :r => "doc:renum"
task :o => "open"

namespace :doc do
  desc "[g] generate README.md"
  task "generate" do
    Rake::Task["doc:renum"].execute
    system "sh", "-vec", <<~EOT, exception: true
.bin/source2md generate --no-debug --xmp-out-exclude --prefix_re '^' -o README.md doc/0*
EOT
  end

  desc "renumber"
  task :renum do
    system "sh", "-vec", <<~EOT, exception: true
saferenum -x doc
EOT
  end
end

task :open do
  system "sh", "-vec", <<~EOT, exception: true
open https://github.com/akicho8/source2md
EOT
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
source2md-0.0.18 Rakefile
source2md-0.0.17 Rakefile
source2md-0.0.16 Rakefile
source2md-0.0.15 Rakefile
source2md-0.0.14 Rakefile
source2md-0.0.13 Rakefile
source2md-0.0.12 Rakefile
source2md-0.0.11 Rakefile