Kouhei Sutou
null+****@clear*****
Mon May 19 23:01:17 JST 2014
Kouhei Sutou 2014-05-19 23:01:17 +0900 (Mon, 19 May 2014) New Revision: 28a4b82bc00ef1f645610ce3c9e02a0cf58e051d https://github.com/groonga/heroku-groonga-builder/commit/28a4b82bc00ef1f645610ce3c9e02a0cf58e051d Message: Support debug build Modified files: Rakefile Modified: Rakefile (+6 -1) =================================================================== --- Rakefile 2014-05-19 23:00:24 +0900 (3688872) +++ Rakefile 2014-05-19 23:01:17 +0900 (76d35c6) @@ -13,9 +13,14 @@ task :build do install_dir = File.join(Dir.pwd, "vendor", "groonga") Dir.chdir(base_name) do + configure_args = [] + if ENV["DEBUG"] == "yes" + configure_args << "--with-debug" + end sh("./configure", "--prefix=#{install_dir}", - "--disable-document") + "--disable-document", + *configure_args) sh("make", "-j") sh("make", "install") end -------------- next part -------------- HTML����������������������������... Télécharger