Sha256: f7a6b8620ea8fe0a2b2294a9baf57c48bb1bd17d038c6915b70e5cffe944aa24
Contents?: true
Size: 402 Bytes
Versions: 2
Compression:
Stored size: 402 Bytes
Contents
gem 'rake-compiler', '>= 0.7.5' require "rake/extensiontask" def gemspec @clean_gemspec ||= eval(File.read(File.expand_path('../../yaji.gemspec', __FILE__))) end Rake::ExtensionTask.new("parser_ext", gemspec) do |ext| ext.ext_dir = File.join('ext', 'yaji') ext.lib_dir = File.join('lib', 'yaji') # clean compiled extension CLEAN.include "#{ext.lib_dir}/*.#{RbConfig::CONFIG['DLEXT']}" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yaji-0.0.2 | tasks/compile.rake |
yaji-0.0.1 | tasks/compile.rake |