Sha256: 0e135fe56092070800d91634d8ade8cddaae3a3c230ca0597c793f4f9c71f296

Contents?: true

Size: 766 Bytes

Versions: 1

Compression:

Stored size: 766 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require 'yard'
require 'yard/rake/yardoc_task.rb'
require 'code_statistics'
require "roodi"
require "roodi_task"
require "version"
require 'rake/version_task'
Rake::VersionTask.new


RoodiTask.new() do | t |
  t.patterns = %w(lib/**/*.rb)
  t.config = "ultragreen_roodi_coding_convention.yml"
end


RSpec::Core::RakeTask.new(:spec)

task :default => :spec


YARD::Rake::YardocTask.new do |t|
    t.files   = [ 'lib/**/*.rb', '-', 'doc/**/*','spec/**/*_spec.rb']
    t.options += ['-o', "yardoc"]
end
YARD::Config.load_plugin('yard-rspec')
  
namespace :yardoc do
task :clobber do
    rm_r "yardoc" rescue nil
    rm_r ".yardoc" rescue nil
    rm_r "pkg" rescue nil
end
end
task :clobber => "yardoc:clobber"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sc4ry-0.2.0 Rakefile