1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00

simplify building on mac os x

This commit is contained in:
John Bintz 2011-05-11 09:04:31 -04:00 committed by Joe Ferris
parent 4a7ff79a94
commit 23ee82f7e0
2 changed files with 2 additions and 6 deletions

View file

@ -17,12 +17,7 @@ module CapybaraWebkitBuilder
system("make") or return false
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
FileUtils.cp("src/webkit_server", "bin", :preserve => true)
end
def build_all

View file

@ -6,4 +6,5 @@ SOURCES = main.cpp WebPage.cpp Server.cpp Connection.cpp Command.cpp Visit.cpp F
RESOURCES = webkit_server.qrc
QT += network webkit
CONFIG += console
CONFIG -= app_bundle