|
Revision 5853, 434 bytes
(checked in by cho45, 5 years ago)
|
|
lang/ruby/chokan/branches/citrus,
lang/ruby/chokan/branches/citrus/Rakefile,
lang/ruby/chokan/branches/citrus/spec/plugins_spec.rb:
coverage 100%!
|
| Line | |
|---|
| 1 | |
|---|
| 2 | require "rubygems" |
|---|
| 3 | require "rake" |
|---|
| 4 | require 'spec/rake/spectask' |
|---|
| 5 | |
|---|
| 6 | task :default => [:spec] |
|---|
| 7 | |
|---|
| 8 | Spec::Rake::SpecTask.new do |t| |
|---|
| 9 | t.spec_opts = ['--options', "spec/spec.opts"] |
|---|
| 10 | t.spec_files = FileList['spec/*_spec.rb'] |
|---|
| 11 | t.rcov = true |
|---|
| 12 | end |
|---|
| 13 | |
|---|
| 14 | namespace :plugin do |
|---|
| 15 | desc "Run plugins spec test." |
|---|
| 16 | Spec::Rake::SpecTask.new do |t| |
|---|
| 17 | t.spec_opts = ['--options', "spec/spec.opts"] |
|---|
| 18 | t.spec_files = FileList['plugins/*.rb'] |
|---|
| 19 | t.rcov = true |
|---|
| 20 | end |
|---|
| 21 | end |
|---|
| 22 | |
|---|