jasmine-headless-webkit/bin/jasmine-headless-webkit
2011-06-16 09:51:49 -04:00

16 lines
232 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'
exit Jasmine::Headless::CLI.run