require 'rubygems' gem 'hoe', '>= 2.1.0' require 'hoe' require 'fileutils' require './lib/tidtools' Hoe.plugin :newgem # Hoe.plugin :website # Hoe.plugin :cucumberfeatures # Generate all the Rake tasks # Run 'rake -T' to see list of generated tasks (from gem root directory) $hoe = Hoe.spec 'tidtools' do self.developer 'ongaeshi', 'ongaeshi@example.com' self.summary = %Q{TiddlyWiki utility tools.} self.description = "tiddler2texts(TiddlyWiki's tiddler convert text files), tidgrep(TiddlyWiki file's grep), twgrep(TiddlyWiki file's grep (for Tweet style).)" self.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required self.rubyforge_name = self.name # TODO this is default value self.extra_deps = [['hpricot','>= 0.8.2']] end require 'newgem/tasks' Dir['tasks/**/*.rake'].each { |t| load t } # TODO - want other tests/tasks run by default? Add them to the list # remove_task :default # task :default => [:spec, :features]