diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-05-21 10:05:58 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-05-21 10:05:58 -0700 |
commit | 6af88ec7e2cc28dbe837ddbd41b0a8ecc63694b8 (patch) | |
tree | 564ad196f227ce5fd6aa412776d3ff733187d077 | |
parent | 3494f2bfc75031f6e131517df21936661eab39c2 (diff) | |
download | libyajl2-gem-6af88ec7e2cc28dbe837ddbd41b0a8ecc63694b8.tar.gz |
add deploying header files to 'rake compile'
-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 # |