-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
23 lines (20 loc) · 836 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
task :default => [:test]
begin
require 'jeweler'
require File.dirname(__FILE__) + "/lib/chaser.rb"
Jeweler::Tasks.new do |gemspec|
gemspec.name = "chaser"
gemspec.summary = "Unit test sadism, with less masochism"
gemspec.description = "Lightweight mutation testing in any flavor of ruby"
gemspec.email = "andrew.j.grimm@gmail.com"
gemspec.authors = ["Andrew Grimm", "Ryan Davis", "Eric Hodel", "Kevin Clark"]
#gemspec.add_dependency('test-unit') #FIXME Don't know how to only add the dependency for ruby 1.9
gemspec.version = Chaser::VERSION
gemspec.homepage = "http://andrewjgrimm.wordpress.com/2009/11/08/declare-war-on-everything-with-chaser/"
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
end
task :test do
ruby "test/test_chaser.rb"
end