Sha256: c3dd6e73ef8b9d89a0368300e4fbbf91ea6a787d747671144536b0b3fe8e33f1

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "rvc"
    gem.summary = "vSphere console UI"
    #gem.description = ""
    gem.email = "rlane@vmware.com"
    #gem.homepage = ""
    gem.authors = ["Rich Lane"]
    gem.add_dependency 'rbvmomi', '>= 1.6.0'
    gem.add_dependency 'trollop', '>= 1.16.2'
    gem.add_dependency 'backports', '>= 1.18.2'
    gem.add_dependency 'highline', '>= 1.6.1'
    gem.add_dependency 'zip', '>= 2.0.2'
    gem.add_dependency 'terminal-table', '>= 1.4.2'
    #gem.add_dependency 'ffi', '>= 1.0.7'
  end
rescue LoadError
  puts "Jeweler not available. Install it with: gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new do |t|
  t.libs << "test"
  t.test_files = FileList['test/test_*.rb']
  t.verbose = true
  t.ruby_opts << "-rubygems"
end
 
begin
  require 'rcov/rcovtask'
  desc 'Measures test coverage using rcov'
  Rcov::RcovTask.new do |rcov|
    rcov.pattern    = 'test/test_*.rb'
    rcov.output_dir = 'coverage'
    rcov.verbose    = true
    rcov.libs << "test"
    rcov.rcov_opts << '--exclude "gems/*"'
  end
rescue LoadError
  puts "Rcov not available. Install it with: gem install rcov"
end

begin
  # HACK rvc needs to be installed as a gem
  require 'rvc'
  require 'ocra'
  desc 'Compile into a win32 executable'
  task :exe do
    sh "ocra bin/rvc"
  end
rescue LoadError
  puts "OCRA not available. Install it with: gem install ocra"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rvc-1.7.0 Rakefile