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
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.3.8 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.3.7 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.3.6 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.3.5 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.3.4 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.3.3 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.3.2 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.3.1 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.3.0 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/ffi-1.0.11/gen/Rakefile
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/ffi-1.0.11/gen/Rakefile
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/ffi-0.6.3/gen/Rakefile
ftl-0.2.0 vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
classiccms-0.2.4.pre vendor/bundle/gems/ffi-1.0.11/gen/Rakefile
frameworks-capybara-0.2.0.rc6 vendor/bundle/ruby/1.8/gems/ffi-1.0.11/gen/Rakefile
frameworks-capybara-0.2.0.rc5 vendor/bundle/ruby/1.8/gems/ffi-1.0.11/gen/Rakefile
frameworks-capybara-0.2.0.rc4 vendor/bundle/ruby/1.8/gems/ffi-1.0.11/gen/Rakefile
frameworks-capybara-0.2.0.rc3 vendor/bundle/ruby/1.8/gems/ffi-1.0.11/gen/Rakefile
frameworks-capybara-0.2.0.rc2 vendor/bundle/ruby/1.8/gems/ffi-1.0.11/gen/Rakefile