-
Notifications
You must be signed in to change notification settings - Fork 2
/
Rakefile
28 lines (24 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
23
24
25
26
27
require 'rubygems'
require 'rake'
require 'rake/testtask'
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "shoulda_machinist_generator"
s.summary = "Generators which create tests using shoulda and machinist"
s.email = "[email protected]"
s.homepage = "http://github.com/futurechimp/shoulda_machinist_generator"
s.description = "A superfork of shoulda_generator"
s.authors = ["Dave Hrycyszyn", "Stuart Chinery"]
s.files = FileList["[A-Z]*", "{rails_generators,test}/**/*"]
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
Rake::TestTask.new do |t|
t.pattern = 'test/**/*_test.rb'
t.verbose = false
end
desc 'Test by default'
task :default => :test