Skip to content

Commit

Permalink
Jeweler task for Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfrench committed Nov 22, 2009
1 parent a549f26 commit bd5792e
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,24 @@ Rake::TestTask.new(:test) do |t|
t.pattern = 'test/*_test.rb'
end

require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "publicious"
gemspec.summary = "A Rails gem plugin for plugins to serve images, javascripts and stylesheets from thier own public directory"
gemspec.description = "A Rails gem plugin for plugins to serve images, javascripts and stylesheets from thier own public directory"
gemspec.email = "justin@indent.com.au"
gemspec.homepage = "http://github.com/justinfrench/publicious"
gemspec.authors = ["Justin French", "Daniel Neighman"]
end

desc 'Generate documentation for the Publicious plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'Passive'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
rdoc.rdoc_files.include('README.textile')
rdoc.rdoc_files.include('MIT-LICENSE')
rdoc.rdoc_files.include('app/**/*.rb')
rdoc.rdoc_files.include('test/*.rb')
rdoc.rdoc_files.include('rails/init.rb')
end

0 comments on commit bd5792e

Please sign in to comment.