require 'rubygems' require 'rake' require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "ms-sequest" gem.homepage = "http://github.com/jtprince/ms-sequest" gem.license = "MIT" gem.summary = %Q{An mspire library supporting SEQUEST, Bioworks, SQT, etc} gem.description = %Q{reads .SRF, .SQT and supports conversions} gem.email = "jtprince@gmail.com" gem.authors = ["John T. Prince"] gem.rubyforge_project = 'mspire' gem.add_runtime_dependency "ms-ident", ">= 0.1.1" gem.add_runtime_dependency "ms-core", ">= 0.0.19" #gem.add_runtime_dependency "ms-msrun", ">= 0.3.4" gem.add_runtime_dependency "trollop", "~> 1.16.2" gem.add_development_dependency "jeweler", "~> 1.5.2" gem.add_development_dependency "ms-testdata", ">= 0.1.1" gem.add_development_dependency "spec-more", ">= 0.0.4" end Jeweler::RubygemsDotOrgTasks.new require 'rake/testtask' Rake::TestTask.new(:spec) do |spec| spec.libs << 'lib' << 'spec' spec.pattern = 'spec/**/*_spec.rb' spec.verbose = true end #require 'rcov/rcovtask' #Rcov::RcovTask.new do |spec| # spec.libs << 'spec' # spec.pattern = 'spec/**/*_spec.rb' # spec.verbose = true #end task :default => :spec require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "ms-sequest #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end