Sha256: e02182dacf655806a1c9d6ad06ee3ebb799df8879d0be680840f3df21d78eaed

Contents?: true

Size: 638 Bytes

Versions: 1

Compression:

Stored size: 638 Bytes

Contents

require 'rake'
require 'rake/clean'
require 'rake/testtask'

CLEAN.include("**/*.gem", "**/*.rbc")

namespace :gem do
  desc 'Build the archive-tar-external gem'
  task :create do
    spec = eval(IO.read('archive-tar-external.gemspec'))
    if Gem::VERSION < "2.0"
      Gem::Builder.new(spec).build
    else
      require 'rubygems/package'
      Gem::Package.build(spec)
    end
  end

  desc 'Install the archive-tar-external library as a gem'
  task :install => [:gem] do
    file = Dir["*.gem"].first
    sh "gem install #{file}"
  end
end

Rake::TestTask.new do |t|
  t.warning = true
  t.verbose = true
end

task :default => :test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
archive-tar-external-1.3.2 Rakefile