Sha256: 0b568c3bc61becff9f54008a2519ca8123ee0e5391b2ecccbbd5140ef2b02c8c

Contents?: true

Size: 603 Bytes

Versions: 1

Compression:

Stored size: 603 Bytes

Contents

require 'rake'
require 'rake/testtask'
require 'rbconfig'
include Config

namespace 'gem' do
  desc 'Delete any .gem files in the current directory'
  task :clean do
    Dir['*.gem'].each{ |f| File.delete(f) }
  end

  desc 'Create the win32-ipc gem'
  task :create => [:clean] do
    spec = eval(IO.read('win32-ipc.gemspec')) 
    Gem::Builder.new(spec).build
  end

  desc 'Install the win32-ipc gem'
  task :install => [:create] do
    file = Dir['*.gem'].first
    sh "gem install #{file}"
  end
end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
win32-ipc-0.5.3 Rakefile