forked from NUBIC/surveyor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
30 lines (28 loc) · 941 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
29
30
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "surveyor"
gem.summary = %Q{A rails (gem) plugin to enable surveys in your application}
gem.email = "[email protected]"
gem.homepage = "http://github.com/breakpointer/surveyor"
gem.authors = ["Brian Chamberlain", "Mark Yoon"]
gem.add_dependency 'haml'
gem.add_dependency 'fastercsv'
gem.add_dependency 'formtastic'
gem.add_development_dependency "yard", ">= 0"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
begin
require 'yard'
YARD::Rake::YardocTask.new
rescue LoadError
task :yardoc do
abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
end
end