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: opal/opal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9ad10e830314
Choose a base ref
...
head repository: opal/opal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 53b1a02cdcc0
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Sep 26, 2014

  1. Fix opal-build help message

    elia committed Sep 26, 2014
    Copy the full SHA
    b71833a View commit details
  2. Fix opal-build -g docs

    elia committed Sep 26, 2014
    Copy the full SHA
    53b1a02 View commit details
Showing with 4 additions and 4 deletions.
  1. +4 −4 bin/opal-build
8 changes: 4 additions & 4 deletions bin/opal-build
Original file line number Diff line number Diff line change
@@ -19,9 +19,9 @@ module Opal
end

opts.on('-g', '--gem GEM_NAME', String,
'Adds the specified GEM_NAME to Opal\'s load path.',
'E.g.: opal-build --require opal-browser browser`',
'Will build browser.rb from the Opal gem opal-browser') do |g|
'Adds the specified GEM_NAME lib dir to Opal\'s load path.',
'E.g.: opal-build --gem erubis -- erubis`',
'Will build erubis.rb from the regular "erubis" gem') do |g|
options[:gems] ||= []
options[:gems] << g
end
@@ -54,7 +54,7 @@ option_parser = Opal::BuilderOptions.new
option_parser.parse!

if ARGV.empty?
puts options
puts option_parser
else
require 'opal'
options = option_parser.options