brynary / stats

This URL has Read+Write access

stats / Rakefile
100644 28 lines (22 sloc) 0.752 kb
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
require "rubygems"
require "spec/rake/spectask"
 
begin
  require 'jeweler'
 
  Jeweler::Tasks.new do |s|
    s.name = "oink"
    s.authors = ["Noah Davis", "Bryan Helmkamp"]
    s.email = ["noahd1" + "@" + "yahoo.com", "bryan" + "@" + "brynary.com"]
    s.homepage = "http://github.com/noahd1/oink"
    s.summary = "Collect metrics from your production app to analyze later"
    s.extra_rdoc_files = %w[README.rdoc]
  end
 
  # Jeweler::RubyforgeTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: gem install jeweler"
end
 
Spec::Rake::SpecTask.new do |t|
  t.spec_opts = ['--options', "\"#{File.dirname(__FILE__)}/spec/spec.opts\""]
end
 
task :spec => :check_dependencies
 
desc "Run the specs"
task :default => :spec