Sha256: edd0c5bcdf5e805d825601eff05511be0891f8fcdba8a05b172b220c1a0c02b0

Contents?: true

Size: 896 Bytes

Versions: 6

Compression:

Stored size: 896 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

require 'rake/testtask'

desc 'Default: run unit tests.'
task :default => :test

Rake::TestTask.new(:test) do |test|
  test.libs << 'test'
  test.pattern = 'test/*_test.rb'
  test.verbose = true
  # Ruby built-in warnings contain way too much noise to be useful. Consider turning them on again when the following issues are accepted in ruby:
  # * https://bugs.ruby-lang.org/issues/10967 (remove warning: private attribute?)
  # * https://bugs.ruby-lang.org/issues/12299 (customized warning handling)
  test.warning = false
end

# Rake::TestTask.new(:rails) do |test|
#   test.libs << 'test/rails'
#   test.test_files = FileList['test/rails4.2/*_test.rb']
#   test.verbose = true
# end

# rails_task = Rake::Task["rails"]
# test_task = Rake::Task["test"]
# default_task.enhance { test_task.invoke }
# default_task.enhance { rails_task.invoke }

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cells-4.1.7 Rakefile
cells-4.1.6 Rakefile
cells-4.1.5 Rakefile
cells-4.1.4 Rakefile
cells-4.1.3 Rakefile
cells-4.1.2 Rakefile