Skip to content

Commit 40cfa4b

Browse files
committed
[build] includ git gem in jruby
1 parent 866b401 commit 40cfa4b

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

third_party/jruby/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
jruby 9.4.5.0 (3.1.4) 2023-11-02 1abae2700f OpenJDK 64-Bit Server VM 21.0.1 on 21.0.1 +jit [arm64-darwin]
1+
jruby 9.4.5.0 (3.1.4) 2023-11-02 1abae2700f OpenJDK 64-Bit Server VM 17.0.7+7 on 17.0.7+7 +jit [x86_64-darwin]

third_party/jruby/jruby-complete.jar

1.27 MB
Binary file not shown.

third_party/jruby/update.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
gems = {
77
"inifile" => "3.0.0",
88
"net-telnet" => "0.2.0",
9+
"git" => "1.18.0",
910
}
1011

1112
jar_name = ARGV.first
@@ -29,10 +30,10 @@
2930
jruby_version = `java -jar #{jar_name} -version`.split("\n").first
3031
File.write("VERSION", "#{jruby_version}\n")
3132

32-
destination = File.realpath("third_party/jruby/")
33-
FileUtils.rm_f("#{destination}jruby-complete.jar") if File.exist?("#{destination}jruby-complete.jar")
34-
FileUtils.cp(jar_name, "#{destination}jruby-complete.jar")
35-
FileUtils.cp("VERSION", "#{destination}VERSION")
33+
destination = File.realpath("third_party/jruby")
34+
FileUtils.rm_f("#{destination}/jruby-complete.jar") if File.exist?("#{destination}/jruby-complete.jar")
35+
FileUtils.cp(jar_name, "#{destination}/jruby-complete.jar")
36+
FileUtils.cp("VERSION", "#{destination}/VERSION")
3637

3738
puts `ls -l third_party/jruby/`
3839

0 commit comments

Comments
 (0)