Sha256: 89c3027758d5b2e94b133c940286c527c8323adb0b7d9154da17c4a6f0339ac9

Contents?: true

Size: 463 Bytes

Versions: 3

Compression:

Stored size: 463 Bytes

Contents

require "bundler/gem_tasks"

require 'rake/testtask'

desc "Default Task"
task default: [ :test ]

# Run the unit tests
Rake::TestTask.new { |t|
  t.libs << "test"
  t.pattern = 'test/**/*_test.rb'
  t.warning = true
  t.verbose = true
  t.ruby_opts = ["--dev"] if defined?(JRUBY_VERSION)
}

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

3 entries across 3 versions & 1 rubygems

Version Path
sms_carrier-0.1.2 Rakefile
sms_carrier-0.1.1 Rakefile
sms_carrier-0.1.0 Rakefile