Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (24 sloc) 0.548 kb
require "fileutils"
module CapybaraWebkitBuilder
extend self
def makefile
system("qmake -spec macx-g++")
end
def qmake
system("make qmake")
end
def build
system("make")
FileUtils.mkdir("bin") unless File.directory?("bin")
if File.exist?("src/webkit_server.app")
FileUtils.cp("src/webkit_server.app/Contents/MacOS/webkit_server", "bin", :preserve => true)
else
FileUtils.cp("src/webkit_server", "bin", :preserve => true)
end
end
def build_all
makefile
qmake
build
end
end
Jump to Line
Something went wrong with that request. Please try again.