-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRakefile
More file actions
34 lines (29 loc) · 944 Bytes
/
Rakefile
File metadata and controls
34 lines (29 loc) · 944 Bytes
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
34
require 'rubygems'
require 'lib/tokyo_cache_cow'
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "tokyo_cache_cow"
s.description = s.summary = ""
s.email = "joshbuddy@gmail.com"
s.homepage = "http://github.com/joshbuddy/tokyo_cache_cow"
s.authors = ["Joshua Hull"]
s.files = FileList["[A-Z]*", "{lib,spec,rails,bin}/**/*"]
s.executables = ['tokyo_cache_cow']
s.add_dependency 'eventmachine'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
require 'spec'
require 'spec/rake/spectask'
task :spec => 'spec:all'
namespace(:spec) do
Spec::Rake::SpecTask.new(:all) do |t|
t.spec_opts ||= []
t.spec_opts << "-rubygems"
t.spec_opts << "--options" << "spec/spec.opts"
t.spec_files = FileList['spec/**/*_spec.rb']
end
end