Sha256: ffb9fb853edb15448c62ea1ebc85601a6e11b2c2a327a52182f1b3d32a9cc8f4

Contents?: true

Size: 379 Bytes

Versions: 33

Compression:

Stored size: 379 Bytes

Contents

require "rake/testtask"
require "rubygems/package_task"

task default: :test

Rake::TestTask.new do |t|
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.warning = false
end

#to run isolated tests...
namespace :test do
  task :isolated do
    Dir.glob("test/**/*_test.rb").all? do |file|
      sh(Gem.ruby, "-w", "-Ilib:test", file)
    end or raise "Failures"
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
adminpanel-3.6.1 Rakefile
adminpanel-3.6.0 Rakefile
adminpanel-3.5.1 Rakefile
adminpanel-3.5.0 Rakefile
adminpanel-3.4.7 Rakefile
adminpanel-3.4.6 Rakefile
adminpanel-3.4.5 Rakefile
adminpanel-3.4.4 Rakefile
adminpanel-3.4.3 Rakefile
adminpanel-3.4.2 Rakefile
adminpanel-3.4.1 Rakefile
adminpanel-3.4.0 Rakefile
adminpanel-3.3.4 Rakefile
adminpanel-3.3.3 Rakefile
adminpanel-3.3.0 Rakefile
adminpanel-3.2.1 Rakefile
adminpanel-3.2.0 Rakefile
adminpanel-3.1.0 Rakefile
adminpanel-3.0.0 Rakefile
adminpanel-2.6.1 Rakefile