comparison ruby/rbdc/rbdc.gemspec @ 6:80273969f043

- ruby binding path cleanup, previous version required bindings and dyncall be checked out in same parent directory
author cslag
date Sat, 26 Mar 2016 00:12:40 +0100
parents f5d4d5c2f750
children 681db37a300c
comparison
equal deleted inserted replaced
5:bf5625bb6f05 6:80273969f043
19 # Ruby gems specification file. 19 # Ruby gems specification file.
20 # 20 #
21 #/////////////////////////////////////////////////////////////////////// 21 #///////////////////////////////////////////////////////////////////////
22 22
23 require 'rake' 23 require 'rake'
24 base_dir = '../../..' 24 #dyncall_dir = ENV['DC_DIR']
25 Dir.chdir(base_dir) 25 #FileUtils.symlink dyncall_dir, 'dyncall'#, :force => true
26 26
27 Gem::Specification.new do |spec| 27 Gem::Specification.new do |spec|
28 spec.name = 'rbdc' 28 spec.name = 'rbdc'
29 spec.author = 'Tassilo Philipp' 29 spec.author = 'Tassilo Philipp'
30 spec.email = 'tphilipp@potion-studios.com' 30 spec.email = 'tphilipp@potion-studios.com'
35 35
36 spec.version = '0.9.0' 36 spec.version = '0.9.0'
37 spec.required_ruby_version = '>= 1.9.1' 37 spec.required_ruby_version = '>= 1.9.1'
38 spec.license = 'ISC' 38 spec.license = 'ISC'
39 39
40 spec.files = FileList['dyncall/**/*', 'dyncall-bindings/ruby/rbdc/rbdc.c'].exclude('dyncall/doc/**/*').exclude('dyncall/test/**/*').to_a 40 # Note that this requires dyncall to live in this directory, create a symlink to the dyncall directory.
41 spec.extensions << 'dyncall-bindings/ruby/rbdc/extconf.rb' 41 spec.files = FileList['dyncall/**/*', 'rbdc.c'].exclude('dyncall/doc/**/*').exclude('dyncall/test/**/*').to_a
42 spec.extensions << 'extconf.rb'
42 end 43 end
44