13 lines
253 B
Ruby
13 lines
253 B
Ruby
require 'rubygems'
|
|
require 'rake'
|
|
require 'spec/rake/spectask'
|
|
|
|
spec_files = Rake::FileList["spec/**/*_spec.rb"]
|
|
|
|
desc "Run specs"
|
|
Spec::Rake::SpecTask.new do |t|
|
|
t.spec_files = spec_files
|
|
t.spec_opts = ["-c"]
|
|
end
|
|
|
|
task :default => :spec |