jasmine-headless-webkit/lib/jasmine/headless/cli.rb

18 lines
350 B
Ruby
Raw Normal View History

2011-06-16 13:51:49 +00:00
require 'jasmine/headless/runner'
require 'jasmine/headless/options'
require 'getoptlong'
module Jasmine
module Headless
class CLI
def self.run
Runner.run(Options.from_command_line)
rescue NoRunnerError
puts "The Qt WebKit widget is not compiled! Try re-installing this gem."
1
end
end
end
end