Sha256: 102397b2dad2fd23cc3aac628345a797b7469601904d52828c7818ed67009b72

Contents?: true

Size: 930 Bytes

Versions: 8

Compression:

Stored size: 930 Bytes

Contents

$:.unshift File.expand_path('../lib', __FILE__)
require 'rubygems'
require 'bundler'
Bundler.setup :default, :test, :development
require 'ci/reporter/rake/rspec'

Bundler::GemHelper.install_tasks

require 'rspec/core/rake_task'
ENV['SPEC_OPTS'] = '--colour'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
end

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec
task :default => :spec

begin
  require 'yard'
  YARD_OPTS = ['-m', 'markdown', '-M', 'maruku']
  DOC_FILES = ['lib/**/*.rb', 'README.markdown']
  
  YARD::Rake::YardocTask.new(:doc) do |t|
    t.files   = DOC_FILES
    t.options = YARD_OPTS
  end
  
  namespace :doc do
    YARD::Rake::YardocTask.new(:pages) do |t|
      t.files   = DOC_FILES
      t.options = YARD_OPTS + ['-o', '../mushikago.doc']
    end
  end
rescue LoadError
  puts "You need to install YARD."
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mushikago-sdk-2.4.3 Rakefile
mushikago-sdk-2.4.2 Rakefile
mushikago-sdk-2.4.1 Rakefile
mushikago-sdk-2.4 Rakefile
mushikago-sdk-2.2 Rakefile
mushikago-sdk-2.1.1 Rakefile
mushikago-sdk-2.1.0 Rakefile
mushikago-sdk-2.0.0 Rakefile