Kouhei Sutou
null+****@clear*****
Tue Aug 5 22:47:01 JST 2014
Kouhei Sutou 2014-08-05 22:47:01 +0900 (Tue, 05 Aug 2014) New Revision: 6908097674abe7292a9dbb4ab9873dcdf9db6443 https://github.com/groonga/heroku-buildpack-groonga/commit/6908097674abe7292a9dbb4ab9873dcdf9db6443 Message: Use GROONGA_VERSION environment variable as the default version I don't test about it but it may work. ;-p Modified files: bin/compile Modified: bin/compile (+2 -1) =================================================================== --- bin/compile 2014-08-05 07:57:04 +0900 (44caecc) +++ bin/compile 2014-08-05 22:47:01 +0900 (e63a5c8) @@ -8,7 +8,6 @@ include FileUtils build_dir, cache_dir, env_dir, = ARGV -version = detect_latest_version database_path = "groonga/database" def detect_latest_version @@ -70,6 +69,8 @@ end puts("-----> Loading environment variables") environment_variables = load_environment_variables(env_dir) +version = environment_variables["GROONGA_VERSION"] || detect_latest_version + Dir.chdir(build_dir) do puts("-----> Installing Groonga #{version}") -------------- next part -------------- HTML����������������������������... 下載