forked from NUBIC/surveyor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
33 lines (31 loc) · 1.13 KB
/
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
31
32
33
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 = "yoon@northwestern.edu"
gem.homepage = "http://github.com/NUBIC/surveyor"
gem.authors = ["Brian Chamberlain", "Mark Yoon"]
gem.add_dependency 'haml'
gem.add_dependency 'sass'
gem.add_dependency 'fastercsv'
gem.add_dependency 'formtastic'
gem.add_dependency 'uuid'
gem.add_development_dependency "yard", ">= 0"
gem.post_install_message = "Thanks for installing surveyor! The time has come to run the surveyor generator and migrate your database, even if you are upgrading."
# 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