Sha256: 71a1f1b96eb418515fcb282cd431e71b9ef788f20b0250c786745b6b9cc3ad81

Contents?: true

Size: 897 Bytes

Versions: 15

Compression:

Stored size: 897 Bytes

Contents

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

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

15 entries across 15 versions & 1 rubygems

Version Path
mushikago-sdk-0.4.3 Rakefile
mushikago-sdk-0.4.2 Rakefile
mushikago-sdk-0.4.1 Rakefile
mushikago-sdk-0.4.0 Rakefile
mushikago-sdk-0.3.7 Rakefile
mushikago-sdk-0.3.6 Rakefile
mushikago-sdk-0.3.5 Rakefile
mushikago-sdk-0.3.4 Rakefile
mushikago-sdk-0.3.2 Rakefile
mushikago-sdk-0.3.1 Rakefile
mushikago-sdk-0.2.3 Rakefile
mushikago-sdk-0.2.1 Rakefile
mushikago-sdk-0.1.8 Rakefile
mushikago-sdk-0.1.7 Rakefile
mushikago-sdk-0.1.6 Rakefile