Sha256: 01bd20f365d4b546cd869902df0ec514f4dc5852b8c00591d07a61642c299c93

Contents?: true

Size: 684 Bytes

Versions: 5

Compression:

Stored size: 684 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "version"
require 'rake/version_task'
require 'code_statistics'
require 'yard'
require 'yard/rake/yardoc_task.rb'
require 'rubocop/rake_task'

RuboCop::RakeTask.new


Rake::VersionTask.new

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

5 entries across 5 versions & 1 rubygems

Version Path
thot-1.2.0 Rakefile
thot-1.1.0 Rakefile
thot-1.0.1 Rakefile
thot-1.0.0 Rakefile
thot-0.1.0 Rakefile