Sha256: b7b5bed61775e0172d31e9910973d36fde455606b1a30087aa993eac0b0ccd7f
Contents?: true
Size: 947 Bytes
Versions: 1
Compression:
Stored size: 947 Bytes
Contents
begin require 'bones' rescue LoadError abort '### Please install the "bones" gem ###' end 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}-*.gem", PKG_PATH system "gem install #{PKG_PATH}/#{NAME}-*.gem" end end require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task :default => :spec 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.9.0 | Rakefile |