summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2013-12-04 20:54:28 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2013-12-04 20:54:28 -0800
commit37b3a41a14676593c1e55cfe49cec2a91bf29ce1 (patch)
tree8ac59c0b696c07a80fd5318ef442b6bfc97ddbdc /Rakefile
parent0f3294df36513053a65a2b102aab22009014502c (diff)
downloadffi-yajl-37b3a41a14676593c1e55cfe49cec2a91bf29ce1.tar.gz
extconf rage + wine + i feel dirty
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 7921c6f..8b6c791 100644
--- a/Rakefile
+++ b/Rakefile
@@ -39,7 +39,9 @@ spec = Gem::Specification.load('ffi-yajl.gemspec')
desc "compile extensions"
task :compile do
sh %Q{ cd ext/libyajl2 && ruby extconf.rb }
- sh %Q{ cd ext/ffi_yajl/ext/encoder && ruby extconf.rb && make && make install }
+ # FIXME: please, please, fix me...
+ sh %Q{ cd ext/ffi_yajl/ext/encoder && ruby extconf.rb && make && cp encoder.* ../../../../lib/ffi_yajl/ext }
+ sh %Q{ rm -f lib/ffi_yajl/ext/encoder.{c,o} }
end
task :default => :spec