forked from technicalpickles/shoulda_generator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
26 lines (23 loc) · 771 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
require 'rake'
require 'rake/testtask'
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "shoulda_generator"
s.summary = "Generators which create tests using shoulda"
s.email = "[email protected]"
s.homepage = "http://github.com/jeffleeismyhero/shoulda_generator"
s.description = "Generators which create tests using shoulda"
s.authors = ["Josh Nichols", "Jeffrey Lee"]
s.files = FileList["[A-Z]*", "{rails_generators,lib,test}/**/*"]
end
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.libs << 'lib'
t.pattern = 'test/**/*_test.rb'
t.verbose = false
end
desc 'Test by default'
task :default => :test