Sha256: 16f1b80b317da500c73d6f519737d89e4bc2f1fac27bd5ac453b605a3d03c098
Contents?: true
Size: 569 Bytes
Versions: 2
Compression:
Stored size: 569 Bytes
Contents
# encoding: utf-8 require 'bundler/gem_tasks' Dir.glob('tasks/*.rake').each { |r| import r } require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/*_test.rb' end if RUBY_VERSION =~ /1.9/ require 'simplecov' desc "Simplecov" Rake::TestTask.new do |t| t.name = 'simplecov' t.loader = :direct t.libs.push 'test', 'spec', Dir.pwd t.test_files = FileList['test/**/*_test.rb'] t.ruby_opts.push '-r', 'simplecov', '-e', 'SimpleCov.start()'.inspect end end task :default => :test
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
as_dialed_from-0.2.4 | Rakefile |
as_dialed_from-0.2.3 | Rakefile |