forked from tinogomes/has_friends
-
Notifications
You must be signed in to change notification settings - Fork 8
/
RakeFile
25 lines (23 loc) · 764 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
if defined?(Rspec)
require 'spec/rake/spectask'
namespace :has_friends do
desc "Run all specs in spec directory (excluding plugin specs)"
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_files = FileList["spec/**/*_spec.rb"]
end
end
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "has_friends-rails3"
gemspec.summary = "Rails 3 version of has_friends gem"
gemspec.description = "Rails 3 version of has_friends gem"
gemspec.email = "[email protected]"
gemspec.homepage = "http://github.com/rrouse/has_friends"
gemspec.authors = ["Robert Rouse"]
gemspec.files.include %w(lib/**/*.rb)
end
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end