raise an error if the specrunner is not found
This commit is contained in:
parent
e06bdb3fcd
commit
089a21e52b
@ -30,6 +30,11 @@ opts.each(&process_options)
|
||||
data = YAML.load_file(ARGV.shift || 'spec/javascripts/support/jasmine.yml')
|
||||
gem_dir = File.expand_path('../..', __FILE__)
|
||||
|
||||
if !File.file?(File.join(gem_dir, 'ext/jasmine-webkit-specrunner/jasmine-webkit-specrunner'))
|
||||
puts "The Qt WebKit widget is not compiled! Try re-installing this gem."
|
||||
exit 1
|
||||
end
|
||||
|
||||
puts "Running Jasmine specs..."
|
||||
|
||||
files = [
|
||||
|
Loading…
Reference in New Issue
Block a user