Sha256: cd51323edf399cd2b2122d965d3360df18c675001add4ca9ed3608c8d38105c9

Contents?: true

Size: 472 Bytes

Versions: 90

Compression:

Stored size: 472 Bytes

Contents

require 'fileutils'
require "#{File.join(File.dirname(__FILE__), '..', 'lib', 'ffi', 'tools', 'types_generator.rb')}"
types_conf = File.join(File.dirname(__FILE__), '..', 'lib', '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

90 entries across 88 versions & 8 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.7.4 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.7.3 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.7.2 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.7.1 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.7.0 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
ffi-0.6.4 gen/Rakefile
classiccms-0.6.9 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.6.8 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.6.7 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.6.6 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.6.5 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.6.4 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.6.3 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.6.2 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.6.1 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.6.0 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.5.17 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.5.16 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.5.15 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile