diff --git a/Rakefile b/Rakefile index b61157d..4a327cf 100755 --- a/Rakefile +++ b/Rakefile @@ -7,3 +7,29 @@ RedminePluginSupport::Base.setup do |plugin| plugin.project_name = 'redmine_overhead' plugin.default_task = [:spec, :features] end +begin + require 'jeweler' + Jeweler::Tasks.new do |s| + s.name = "redmine_overhead" + s.summary = "Overhead is a plugin that can be used to group Time Entry Activities into billable and overhead groups" + s.email = "edavis@littlestreamsoftware.com" + s.homepage = "https://projects.littlestreamsoftware.com/projects/TODO" + s.description = "Overhead is a plugin that can be used to group Time Entry Activities into billable and overhead groups" + s.authors = ["Eric Davis"] + s.rubyforge_project = "redmine_overhead" # TODO + s.files = FileList[ + "[A-Z]*", + "init.rb", + "rails/init.rb", + "{bin,generators,lib,test,app,assets,config,lang}/**/*", + 'lib/jeweler/templates/.gitignore' + ] + end + Jeweler::GemcutterTasks.new + Jeweler::RubyforgeTasks.new do |rubyforge| + rubyforge.doc_task = "rdoc" + end +rescue LoadError + puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" +end +