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:
parent
4a7ff79a94
commit
23ee82f7e0
2 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue