emmanuel / clockwork

A(nother) Ruby implementation of Temporal Expressions. Describe recurrence in plain English!

This URL has Read+Write access

Emmanuel Gomez (author)
Wed Feb 25 16:04:36 -0800 2009
commit  2c29d5f9eb7bd68115330b562c73b1d5ecd5d023
tree    4e097aa8f26c563795a883ea72accd585c6821fb
parent  88b0add5e069e61d55a0cbaedecc35db4c4f70da
clockwork / Rakefile
100644 29 lines (23 sloc) 0.756 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
29
#!/usr/bin/env ruby
require 'pathname'
require 'rubygems'
require 'rake'
require 'hoe'
require 'spec/rake/spectask'
 
require 'lib/clockwork'
 
ROOT = Pathname(__FILE__).dirname.expand_path
 
Hoe.new('clockwork', Clockwork::VERSION::STRING) do |p|
  p.developer('Emmanuel Gomez', 'emmanuel.gomez@gmail.com')
end
 
task :spec do
  all_specs = ROOT + 'spec/**/*_spec.rb'
  
  Spec::Rake::SpecTask.new('spec') do |t|
    t.spec_opts << '--colour' << '--loadby' << 'random'
    t.spec_files = Pathname.glob(ENV['FILES'] || all_specs)
    # t.rcov = rcov
    # t.rcov_opts << '--exclude' << 'spec,environment.rb'
    # t.rcov_opts << '--text-summary'
    # t.rcov_opts << '--sort' << 'coverage' << '--sort-reverse'
    # t.rcov_opts << '--only-uncovered'
  end
end