Sha256: 925d3062ef268733ffb9e633433cee5258bfcb8c7658389eeebf93939b640406
Contents?: true
Size: 435 Bytes
Versions: 1
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') task 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffi-0.2.0 | gen/Rakefile |