Skip to content

Commit 0562840

Browse files
committed
JT: Add an entry point for the tool/sync.rb tool
1 parent 01a768d commit 0562840

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tool/jt.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,7 @@ def help
593593
jt install jvmci install a JVMCI JDK in the parent directory
594594
jt install graal [--no-jvmci] install Graal in the parent directory (--no-jvmci to use the system Java)
595595
jt docker build a Docker image - see doc/contributor/docker.md
596+
jt sync continuously synchronize changes from the Ruby source files to the GraalVM build
596597
597598
you can also put --build or --rebuild in front of any command to build or rebuild first
598599
@@ -2097,6 +2098,10 @@ def verify_native_bin!
20972098
end
20982099
private :verify_native_bin!
20992100

2101+
def sync
2102+
exec(RbConfig.ruby, "#{TRUFFLERUBY_DIR}/tool/sync.rb")
2103+
end
2104+
21002105
def docker(*args)
21012106
command = args.shift
21022107
case command

0 commit comments

Comments
 (0)