jasmine-headless-webkit/bin/jasmine-headless-webkit

16 lines
232 B
Plaintext
Raw Normal View History

2011-04-11 10:38:47 +00:00
#!/usr/bin/env ruby
2011-05-10 13:25:55 +00:00
require 'rubygems'
2011-05-29 16:30:19 +00:00
def gem_dir
File.expand_path('../..', __FILE__)
end
2011-05-06 18:05:15 +00:00
$:.unshift(File.join(gem_dir, 'lib'))
2011-05-02 21:55:09 +00:00
puts "Running Jasmine specs..."
2011-06-16 13:51:49 +00:00
require 'jasmine/headless/cli'
exit Jasmine::Headless::CLI.run
2011-04-11 10:38:47 +00:00