Sha256: 971da9daac0c309f10cc39dc8b348d77dbde5c66a8a6c443a251f95bd788b044
Contents?: true
Size: 1.09 KB
Versions: 4
Compression:
Stored size: 1.09 KB
Contents
require "bundler/gem_tasks" require 'rubygems' require 'version' require 'rake/version_task' require 'rspec' require 'rake' require "rake/clean" require "rubygems/package_task" require "rdoc/task" require 'code_statistics' require 'rspec/core/rake_task' require 'yard' require 'yard/rake/yardoc_task.rb' require "rake/tasklib" require "roodi" require "roodi_task" task default: :spec Rake::VersionTask.new RoodiTask.new() do | t | t.patterns = %w(lib/**/*.rb) t.config = "ultragreen_roodi_coding_convention.yml" end CLEAN.include('*.tmp','*.old') CLOBBER.include('*.tmp', 'build/*','#*#') content = File::readlines(File.join(File.dirname(__FILE__), 'rack-rest-rspec.gemspec')).join spec = eval(content) RSpec::Core::RakeTask.new('spec') YARD::Rake::YardocTask.new do |t| t.files = [ 'lib/**/*.rb', '-', 'doc/**/*','spec/**/*_spec.rb'] t.options += ['--title', "Gem Documentation"] 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 end end task :clobber => "yardoc:clobber"
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rack-rest-rspec-0.0.5 | Rakefile |
rack-rest-rspec-0.0.4 | Rakefile |
rack-rest-rspec-0.0.3 | Rakefile |
rack-rest-rspec-0.0.2 | Rakefile |