diff options
-rw-r--r-- | Rakefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -102,6 +102,14 @@ task :prep do generate_yajl_version end +task :compile do + include_path = File.expand_path("../lib/libyajl2/vendored-libyajl2/include/yajl", __FILE__) + vendor_src_path = File.expand_path("../ext/libyajl2/vendor/yajl/src", __FILE__) + + FileUtils.mkdir_p(include_path) + FileUtils.cp Dir["#{vendor_src_path}/api/*.h"], include_path +end + # # FIXME: need a rake task to update the git submodule and need to do that before shipping # |