Using new gem that checks the build process
This commit is contained in:
parent
eca5e9c75d
commit
89ec5217da
@ -7,4 +7,7 @@ require 'qt/qmake'
|
|||||||
system %{make clean}
|
system %{make clean}
|
||||||
Qt::Qmake.make!('jasmine-headless-webkit', 'specrunner.pro')
|
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__)
|
FileUtils.cp File.expand_path('../Makefile.dummy', __FILE__), File.expand_path('../Makefile', __FILE__)
|
||||||
|
@ -4,7 +4,7 @@ require "jasmine/headless/version"
|
|||||||
|
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = "jasmine-headless-webkit-firstbanco"
|
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.platform = Gem::Platform::RUBY
|
||||||
s.authors = ["John Bintz", "Sencha Inc.", "Pivotal Labs"]
|
s.authors = ["John Bintz", "Sencha Inc.", "Pivotal Labs"]
|
||||||
s.email = ["john@coswellproductions.com"]
|
s.email = ["john@coswellproductions.com"]
|
||||||
|
Loading…
Reference in New Issue
Block a user