Rakefile in ruck-0.2.0 vs Rakefile in ruck-0.3.0

- old
+ new

@@ -13,13 +13,24 @@ Ruck uses continuations and a simple scheduler to ensure "shreds" (Ruck threads) are woken at precisely the right time according to its virtual clock. Schedulers can map virtual time to samples in a WAV file, real time, time in a MIDI file, or anything else by overriding "sim_to" in the Shreduler class. + + A small library of useful unit generators and plenty of examples + are provided. See the README or the web page for details. EOF gem.has_rdoc = false + gem.add_dependency "PriorityQueue", ">= 0" # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" +end + +if require "spec/rake/spectask" + desc "Run all specs" + Spec::Rake::SpecTask.new("spec") do |t| + t.spec_files = FileList["spec/**/*.rb"] + end end