Sha256: 2ab2b01a01f5b8f32185ae9f0747616e071b1e5fa3081ccbdd203c75b1a7f66f

Contents?: true

Size: 425 Bytes

Versions: 2

Compression:

Stored size: 425 Bytes

Contents

#!/usr/bin/env ruby
require 'pathname'

firefox_location = [`which firefox-bin`.chomp, `which firefox`.chomp].detect do |loc|
  !loc.length.zero?
end

raise "Could not find `firefox-bin` or `firefox` in your path. Please rectify this and try again." unless firefox_location

xulapp_ini_path = (Pathname(__FILE__).parent.parent + "xulapp/application.ini").expand_path

exec(firefox_location, *["-app", xulapp_ini_path, *ARGV])

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gabrielg-xultestrunner-0.1.0 bin/xultest
gabrielg-xultestrunner-0.1.1 bin/xultest