-
Notifications
You must be signed in to change notification settings - Fork 8
/
Rakefile
31 lines (25 loc) · 865 Bytes
/
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
require 'rake'
require 'spec/rake/spectask'
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = 'rack-speedtracer'
gemspec.summary = 'SpeedTracer middleware for server side debugging'
gemspec.description = gemspec.summary
gemspec.email = 'ilya@igvita.com'
gemspec.homepage = 'http://github.com/igrigorik/rack-speedtracer'
gemspec.authors = ['Ilya Grigorik']
gemspec.add_dependency('rack')
gemspec.add_dependency('uuid')
gemspec.add_dependency('yajl-ruby')
gemspec.rubyforge_project = 'rack-speedtracer'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts 'Jeweler not available. Install it with: sudo gem install jeweler -s http://gemcutter.org'
end
task :default => :spec
Spec::Rake::SpecTask.new do |t|
t.ruby_opts = ['-rtest/unit']
t.spec_files = FileList['spec/**/*_spec.rb']
end