Sha256: e5952da80199bc73a4383266f5fe718ffa3b7c3598ac5477f3dbd970c566ea02

Contents?: true

Size: 606 Bytes

Versions: 2

Compression:

Stored size: 606 Bytes

Contents

require 'rake/testtask'

task default: [:build]

desc 'Installs the ruby gem'
task :build do
  require 'genevalidator/version'
  lib = File.expand_path('../lib', __FILE__)
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
  exec("gem build GeneValidator.gemspec && gem install ./GeneValidator-#{GeneValidator::VERSION}.gem")
end

desc 'Unit tests for the majority of class methods'
task :test do
  Rake::TestTask.new do |t|
    t.libs.push 'lib'
    t.test_files = FileList['test/*.rb']
    t.verbose = true
  end
end

desc 'Generates documentation'
task :doc do
  exec("yardoc 'lib/**/*.rb'")
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
genevalidator-1.6.0 Rakefile
genevalidator-1.5.6 Rakefile