Sha256: 0f5b49b999cc94765fe2918cc47234709b73e147f44ac76a63fb9571e153fa13
Contents?: true
Size: 547 Bytes
Versions: 160
Compression:
Stored size: 547 Bytes
Contents
require "bundler/setup" require "bundler/gem_tasks" require "rake/testtask" Rake::TestTask.new(:test) do |t| t.libs << 'test' t.pattern = 'test/**/*_test.rb' t.verbose = false t.warning = true end task default: :test namespace "format" do desc "Regenerate table of contents in README" task "toc" do require "mkmf" if find_executable0("markdown-toc") sh "markdown-toc --maxdepth=3 -i README.md" else puts "WARN: cannot find markdown-toc, skipping. install with 'npm install markdown-toc'" end end end
Version data entries
160 entries across 160 versions & 1 rubygems