-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathRakefile
28 lines (25 loc) · 845 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
28
require 'rake'
require 'rake/rdoctask'
require 'spec/rake/spectask'
desc "Run all specs"
Spec::Rake::SpecTask.new('specs') do |t|
t.libs << 'lib'
t.spec_files = FileList['spec/**/*.rb']
end
task :default => [:specs]
begin
require 'jeweler'
require 'lib/acts_as_event_owner'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "acts_as_event_owner"
gemspec.version = ActsAsEventOwner::VERSION
gemspec.summary = "Simple calendar events for any ActiveRecord model"
gemspec.email = "[email protected]"
gemspec.homepage = "http://github.com/dburkes/acts_as_event_owner"
gemspec.description = "Simple calendar events for any ActiveRecord model"
gemspec.authors = ["Danny Burkes"]
gemspec.add_dependency('ri_cal')
end
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end