Sha256: 2497686754350c14adde26d8f3c57d6f62ce5bd01440916a515c637bab480cd8
Contents?: true
Size: 959 Bytes
Versions: 1
Compression:
Stored size: 959 Bytes
Contents
require 'bundler' Bundler::GemHelper.install_tasks require 'rspec/core' require 'rspec/core/rake_task' # task :release => :spec desc "Run Specs" Rspec::Core::RakeTask.new(:spec) do |spec| spec.pattern = "spec/**/*_spec.rb" spec.verbose = true spec.rspec_opts = ['--color'] end require 'yard' desc "Generate YARD docs" YARD::Rake::YardocTask.new(:yard) do |t| t.files += ['lib/**/*.rb'] end desc "Run Unit Specs Only" Rspec::Core::RakeTask.new(:spec) do |spec| spec.pattern = "spec/riakpb/**/*_spec.rb" end namespace :spec do desc "Run Integration Specs Only" Rspec::Core::RakeTask.new(:integration) do |spec| spec.pattern = "spec/integration/**/*_spec.rb" end desc "Run All Specs" Rspec::Core::RakeTask.new(:all) do |spec| spec.pattern = Rake::FileList["spec/**/*_spec.rb"] end end # TODO - want other tests/tasks run by default? Add them to the list # remove_task :default # task :default => [:spec, :features]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
riakpb-0.2.3 | Rakefile |