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.2.3 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classicCMS-0.2.2 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classicCMS-0.2.1 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classicCMS-0.2.0 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classicCMS-0.1.2 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
resque-pool-0.3.0.beta.2 vendor/bundle/ruby/1.8/gems/ffi-0.6.3/gen/Rakefile
resque-pool-0.3.0.beta.2 vendor/bundle/ruby/1.8/gems/ffi-1.0.11/gen/Rakefile
ffi-1.0.11 gen/Rakefile
ffi-1.0.10 gen/Rakefile
ffi-1.0.9-x86-mingw32 gen/Rakefile
ffi-1.0.9 gen/Rakefile
ffi-1.0.7-x86-mingw32 gen/Rakefile
ffi-1.0.7 gen/Rakefile
ffi-1.0.6-x86-mingw32 gen/Rakefile
ffi-1.0.6 gen/Rakefile
ffi-1.0.5-x86-mingw32 gen/Rakefile
ffi-1.0.5 gen/Rakefile
ffi-1.0.4-x86-mingw32 gen/Rakefile
ffi-1.0.4 gen/Rakefile
ffi-1.0.3-x86-mingw32 gen/Rakefile