diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2013-11-23 21:21:14 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2013-11-23 21:21:14 -0800 |
commit | 03a5314c5c20a7d540c418cfc65d578cb47f275d (patch) | |
tree | ab7d89b2412b92f9944e4935920e56af24409ee3 | |
parent | c015b4c20074f85bc604bf7e2a2023e08cca934c (diff) | |
download | ffi-yajl-03a5314c5c20a7d540c418cfc65d578cb47f275d.tar.gz |
chdir into ext dir
-rw-r--r-- | Rakefile | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -38,10 +38,8 @@ spec = Gem::Specification.load('ffi-yajl.gemspec') desc "compile extensions" task :compile do - sh %Q{ ruby ext/libyajl2/extconf.rb } - sh %Q{ ruby ext/ffi_yajl/ext/encoder/extconf.rb } - sh %Q{ cd ext/ffi_yajl/ext/encoder && make } - sh %Q{ cd ext/ffi_yajl/ext/encoder && make install } + sh %Q{ cd ext/libyajl2 && ruby extconf.rb } + sh %Q{ cd ext/ffi_yajl/ext/encoder && extconf.rb && make && make install } end task :default => :spec |