jasmine-headless-webkit/bin/jasmine-headless-webkit
2011-06-17 10:27:00 -04:00

20 lines
279 B
Ruby
Executable File

#!/usr/bin/env ruby
require 'rubygems'
def gem_dir
File.expand_path('../..', __FILE__)
end
$:.unshift(File.join(gem_dir, 'lib'))
puts "Running Jasmine specs..."
require 'jasmine/headless/cli'
begin
exit Jasmine::Headless::CLI.run
rescue StandardError => e
exit 1
end