Skip to content

Commit

Permalink
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tool/jt.rb
Original file line number Diff line number Diff line change
@@ -172,6 +172,7 @@ module Commands
include ShellUtils

def help
puts 'jt checkout name checkout a different Git branch and rebuild'
puts 'jt build [options] build'
puts 'jt build truffle [options] build only the Truffle part, assumes the rest is up-to-date'
puts 'jt rebuild [options] clean and build'
@@ -218,6 +219,11 @@ def help
puts ' branch names are mangled - eg truffle-head becomes GRAAL_BIN_TRUFFLE_HEAD'
end

def checkout(branch)
sh 'git', 'checkout', branch
rebuild
end

def build(*args)
mvn_args = []

0 comments on commit a13820c

Please sign in to comment.