Sha256: 88eb7782b3085cedb4db6ae1a82a2b8fae013399bc95383aa82e6460c763fba0

Contents?: true

Size: 928 Bytes

Versions: 1

Compression:

Stored size: 928 Bytes

Contents

begin
  require 'bones'
rescue LoadError
  abort '### Please install the "bones" gem ###'
end

task :default => 'test:run'
task 'gem:release' => 'test:run'

namespace :win do

  desc 'Build and install gem under Windows. Mr Bones just has to break things using tar.'
  task :install do
    PKG_PATH = File.join(File.dirname(__FILE__), 'pkg')
    NAME = File.basename(File.dirname(__FILE__))
    rm_rf PKG_PATH
    system "gem build #{NAME}.gemspec"
    mkdir_p PKG_PATH
    mv "#{NAME}-0.6.0.gem", PKG_PATH
    system "gem install #{PKG_PATH}/#{NAME}-0.6.0.gem"
  end
end

Bones {
  name 'ffi-rzmq'
  authors 'Chuck Remes'
  email 'cremes@mac.com'
  url 'http://github.com/chuckremes/ffi-rzmq'
  readme_file 'README.rdoc'
  ruby_opts.clear # turn off warnings
  
  # necessary for MRI; unnecessary for JRuby and RBX
  # can't enable this until JRuby & RBX have a way of dealing with it cleanly
  #depend_on 'ffi', '>= 1.0.0'
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ffi-rzmq-0.7.0 Rakefile