Sha256: 74085ff8fdd385d8c4fcdb641a742398c33bd9daf7a59cd9d7065f58e3f3d290
Contents?: true
Size: 685 Bytes
Versions: 180
Compression:
Stored size: 685 Bytes
Contents
require "rubygems" require 'rspec/core' require "rspec/core/rake_task" RSpec::Core::RakeTask.new do |t| t.pattern = "./**/*_spec.rb" t.ruby_opts = "-w" end task :default => :spec # desc "Run all specs in spec directory with RCov" # RSpec::Core::RakeTask.new(:rcov) do |t| # t.libs << 'lib' # t.libs << 'spec' # t.warning = true # t.rcov = true # t.rcov_opts = ['-x spec'] # end desc "Generate RDoc" task :docs do FileUtils.rm_rf("doc") require "rack/test" system "hanna --title 'Rack::Test #{Rack::Test::VERSION} API Documentation'" end desc 'Removes trailing whitespace' task :whitespace do sh %{find . -name '*.rb' -exec sed -i '' 's/ *$//g' {} \\;} end
Version data entries
180 entries across 157 versions & 36 rubygems