Sha256: 5ebc79c00001b55f4b5235da406795c4bb915a79e7b65f1285f8814cb62cebf0

Contents?: true

Size: 566 Bytes

Versions: 5

Compression:

Stored size: 566 Bytes

Contents

require 'rake/testtask'
GEMSPEC = Gem::Specification::load('genevalidatorapp.gemspec')

task default: [:build]

desc 'Builds and installs'
task install: [:build] do
  sh "gem install #{Rake.original_dir}/genevalidatorapp-#{GEMSPEC.version}.gem"
end

desc 'Runs tests and builds gem (default)'
task build: [:test] do
  sh "gem build #{Rake.original_dir}/genevalidatorapp.gemspec"
end

desc 'Runs tests'
task :test do
  Rake::TestTask.new do |t|
    t.libs.push 'lib'
    t.test_files = FileList['test/test_*.rb']
    t.verbose = false
    t.warning = false
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
genevalidatorapp-2.1.1 Rakefile
genevalidatorapp-2.1.0 Rakefile
genevalidatorapp-2.0.2 Rakefile
genevalidatorapp-2.0.1 Rakefile
genevalidatorapp-2.0.0 Rakefile