Using new gem that checks the build process

This commit is contained in:
Harry Lascelles 2014-01-11 19:16:05 +00:00
parent eca5e9c75d
commit 89ec5217da
2 changed files with 4 additions and 1 deletions

View File

@ -7,4 +7,7 @@ require 'qt/qmake'
system %{make clean}
Qt::Qmake.make!('jasmine-headless-webkit', 'specrunner.pro')
# The build above can fail silently. So we check for the existence of the binary.
raise "\n***********************\nGem jasmine-headless-webkit-firstbanco failed to build. Have you got qtmake installed? On linux you need: sudo apt-get install libqtwebkit-dev qt4-dev-tools" unless File.exist?(File.expand_path('../jasmine-webkit-specrunner', __FILE__))
FileUtils.cp File.expand_path('../Makefile.dummy', __FILE__), File.expand_path('../Makefile', __FILE__)

View File

@ -4,7 +4,7 @@ require "jasmine/headless/version"
Gem::Specification.new do |s|
s.name = "jasmine-headless-webkit-firstbanco"
s.version = '0.9.0.rc.4'
s.version = '0.9.0.rc.5'
s.platform = Gem::Platform::RUBY
s.authors = ["John Bintz", "Sencha Inc.", "Pivotal Labs"]
s.email = ["john@coswellproductions.com"]