-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
33 lines (31 loc) · 1.13 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
require 'rubygems'
require 'rake'
begin
require "jeweler"
Jeweler::Tasks.new do |gem|
gem.name = "ruck"
gem.email = "[email protected]"
gem.homepage = "http://github.com/alltom/ruck"
gem.authors = ["Tom Lieber"]
gem.summary = "strong timing for Ruby: cooperative threads on a virtual clock"
gem.description = <<-EOF
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.
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