Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Build json extension.

  • Loading branch information...
commit 0d0a9a4d180a47b4ee0d7e91fac8940c197c6d71 1 parent 73ded2b
@brixen brixen authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 rakelib/extensions.rake
View
9 rakelib/extensions.rake
@@ -20,7 +20,7 @@ namespace :extensions do
rm_f FileList["lib/tooling/**/*.{o,#{$dlext}}"], :verbose => $verbose
# TODO: implement per extension cleaning. This hack is for
# openssl and dl, which use extconf.rb and create Makefile.
- rm_f FileList["lib/ext/**/Makefile"], :verbose => $verbose
+ rm_f FileList["lib/**/ext/**/Makefile"], :verbose => $verbose
rm_f FileList["lib/tooling/**/Makefile"], :verbose => $verbose
rm_f FileList["lib/ext/dl/*.func"], :verbose => $verbose
end
@@ -159,6 +159,13 @@ end
compile_ext "syck", :deps => ["Makefile"], :dir => "lib/19/syck/ext", :env => "-X19"
+compile_ext "json/parser", :deps => ["Makefile", "extconf.rb"],
+ :dir => "lib/19/json/ext/parser",
+ :env => "-X19"
+compile_ext "json/generator", :deps => ["Makefile", "extconf.rb"],
+ :dir => "lib/19/json/ext/generator",
+ :env => "-X19"
+
# rbx must be able to run to build these because they use
# extconf.rb, so they must be after melbourne for Rubinius.
compile_ext "openssl", :deps => ["Makefile", "extconf.h"], :dir => "lib/openssl/ext"
Please sign in to comment.
Something went wrong with that request. Please try again.