Sha256: e327b307f29dc9478179e5333138b8c2bd835131b271fdccd95e5ce9ed1268f5

Contents?: true

Size: 435 Bytes

Versions: 21

Compression:

Stored size: 435 Bytes

Contents

require 'fileutils'
require "#{File.join(ENV['RUBYLIBDIR'], 'ffi', 'tools', 'types_generator.rb')}"
types_conf = File.join(ENV['RUBYLIBDIR'], 'ffi', 'types.conf') 
file types_conf do |task|
  options = {}
  FileUtils.mkdir_p(File.dirname(task.name), { :mode => 0755 })
  File.open(task.name, File::CREAT|File::TRUNC|File::RDWR, 0644) do |f|
    f.puts FFI::TypesGenerator.generate(options)
  end
end
task :default => types_conf do
end

Version data entries

21 entries across 21 versions & 4 rubygems

Version Path
ffi-ffi-0.5.0 gen/Rakefile
remogatto-ffi-0.5.0 gen/Rakefile
ffi-0.6.2 gen/Rakefile
ffi-0.6.1 gen/Rakefile
ffi-0.6.0 gen/Rakefile
ffi-0.5.4-x86-mswin32 gen/Rakefile
ffi-0.5.4-x86-mingw32 gen/Rakefile
ffi-0.5.4 gen/Rakefile
ffi-0.5.3-x86-mswin32 gen/Rakefile
ffi-0.5.3 gen/Rakefile
ffi-0.5.3-x86-mingw32 gen/Rakefile
minilab-1.1.0-x86-mswin32-60 vendor/ffi-0.4.0-x86-mswin32/gen/Rakefile
ffi-0.5.1-x86-mswin32 gen/Rakefile
ffi-0.5.1 gen/Rakefile
ffi-0.5.1-x86-mingw32 gen/Rakefile
ffi-0.5.0-x86-mswin32 gen/Rakefile
ffi-0.5.0-x86-mingw32 gen/Rakefile
ffi-0.5.0 gen/Rakefile
ffi-0.4.0-x86-mswin32 gen/Rakefile
ffi-0.4.0 gen/Rakefile