diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2013-11-23 00:17:01 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2013-11-23 00:17:01 -0800 |
commit | 245072bee2409bb1bdad14938c1bb0f64d900ed7 (patch) | |
tree | 2e57c905e3c0e9510ee0f18ac3ca61096abbdeb5 /Rakefile | |
parent | 5b4d4c427284d144d134009647d92d3976433a05 (diff) | |
download | ffi-yajl-245072bee2409bb1bdad14938c1bb0f64d900ed7.tar.gz |
rake compile almost working with vendored libyajl
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -36,6 +36,8 @@ task :clean do end spec = Gem::Specification.load('ffi-yajl.gemspec') + + Rake::ExtensionTask.new do |ext| ext.name = 'encoder' ext.lib_dir = 'lib/ffi_yajl/ext' @@ -43,4 +45,12 @@ Rake::ExtensionTask.new do |ext| ext.gem_spec = spec end +Rake::ExtensionTask.new do |ext| + ext.name = 'libyajl2' + ext.ext_dir = 'ext/libyajl2' + ext.gem_spec = spec +end + +task :compile_encodr => :compile_libyajl2 + task :default => :spec |