2 require 'rake/testtask'
3 require 'rake/rdoctask'
4 require 'rake/gempackagetask'
6 Rake::TestTask.new do |task|
9 task.test_files = [ "test/test_all.rb" ]
13 Rake::RDocTask.new do |task|
14 task.rdoc_files.include "README"
18 gemspec = Gem::Specification.new do |gemspec|
19 gemspec.platform = Gem::Platform::RUBY
20 gemspec.name = "minicomic"
21 gemspec.version = "0.2"
22 gemspec.author = "MenTaLguY <mental@rydia.net>"
23 gemspec.summary = "Rake rules for minicomic impressions"
24 gemspec.test_file = 'test/test_all.rb'
25 gemspec.files = FileList[ 'Rakefile', 'test/*.rb', 'lib/**/*.rb' ]
26 gemspec.require_paths = [ 'lib' ]
27 gemspec.has_rdoc = true
28 gemspec.extra_rdoc_files = %w(README)
29 gemspec.rdoc_options = %w(--main README)
30 gemspec.add_dependency 'rake', '>= 0.7.0'
33 task :package => [ :test ]
34 Rake::GemPackageTask.new( gemspec ) do |task|
35 task.gem_spec = gemspec
39 task :default => [ :package ]