git-svn-id: https://dev.finn.de/svn/cockpit/trunk@160 7926756e-e54e-46e6-9721-ed318f58905epull/6827/head
parent
6b64866060
commit
98863e4fb8
@ -1,16 +0,0 @@ |
||||
require "spec/rake/spectask" |
||||
require "rake/clean" |
||||
require "rake/rdoctask" |
||||
|
||||
task :default => :spec |
||||
task :test => :spec |
||||
|
||||
Rake::RDocTask.new("rdoc") do |rdoc| |
||||
rdoc.rdoc_dir = 'rdoc' |
||||
rdoc.options += %w[--all --inline-source --line-numbers --main README.rdoc --quiet --tab-width 2] |
||||
rdoc.rdoc_files.add Dir['*.{rdoc,rb}', '{app,lib}/**/*.rb'] |
||||
end |
||||
|
||||
Spec::Rake::SpecTask.new('spec') do |t| |
||||
t.spec_files = Dir.glob 'spec/**/*_spec.rb' |
||||
end |
@ -0,0 +1,11 @@ |
||||
require "spec/rake/spectask" |
||||
|
||||
namespace :spec do |
||||
namespace :plugins do |
||||
Spec::Rake::SpecTask.new('redmine_costs') do |t| |
||||
t.spec_files = Dir.glob "#{File.dirname __FILE__}/../spec/**/*_spec.rb" |
||||
end |
||||
end |
||||
end |
||||
|
||||
task :spec => "spec:plugins:redmine_costs" |
Loading…
Reference in new issue