Sha256: bedf787550ea5b2a893ec412db1f9c77b052a45a00cb37daa12b87e5feec53bc

Contents?: true

Size: 703 Bytes

Versions: 2

Compression:

Stored size: 703 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

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

task :default => :test

namespace :doc do
  begin
    require 'yard'
  rescue LoadError
    # ignore
  else
    YARD::Rake::YardocTask.new do |task|
      task.files   = ['HISTORY.mkd', 'LICENSE.mkd', 'lib/**/*.rb']
      task.options = [
        '--protected',
        '--output-dir', 'doc/yard',
        '--tag', 'format:Supported formats',
        '--tag', 'authenticated:Requires Authentication',
        '--tag', 'rate_limited:Rate Limited',
        '--markup', 'markdown',
      ]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pocket-ruby-0.0.9 Rakefile
pocket-ruby-0.0.8 Rakefile