Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9b7b419e4d5c
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 75e58f6c8152
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Dec 7, 2015

  1. Copy the full SHA
    75e58f6 View commit details
Showing with 9 additions and 15 deletions.
  1. +9 −15 tool/jt.rb
24 changes: 9 additions & 15 deletions tool/jt.rb
Original file line number Diff line number Diff line change
@@ -224,22 +224,16 @@ def checkout(branch)
rebuild
end

def build(*args)
mvn_args = []

if args.delete 'truffle'
mvn_args += ['-pl', 'truffle', 'package']
end

if args.delete '--no-tests'
mvn_args << '-DskipTests'
end

unless args.empty?
raise ArgumentError, args.inspect
def build(project = nil)
opts = %w[-DskipTests]
case project
when 'truffle'
mvn *opts, '-pl', 'truffle', 'package'
when nil
mvn *opts, 'package'
else
raise ArgumentError, project
end

mvn *mvn_args
end

def clean