Update cefode for child_process.fork.

This commit is contained in:
Cheng Zhao 2013-03-13 21:57:12 +08:00
parent 347ba6c7ee
commit c393a0677e
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ end
desc "Update CEF to the latest version specified by the prebuilt-cef submodule"
task "update-cef" => "bootstrap" do
exit 1 unless system %{prebuilt-cef/script/download -b 1423 -r 1135 -d https://gh-contractor-zcbenz.s3.amazonaws.com/cefode/prebuilt-cef -f cef}
exit 1 unless system %{prebuilt-cef/script/download -b 1424 -r 1135 -d https://gh-contractor-zcbenz.s3.amazonaws.com/cefode/prebuilt-cef -f cef}
Dir.glob('cef/*.gypi').each do |filename|
`sed -i '' -e "s/'include\\//'cef\\/include\\//" -e "s/'libcef_dll\\//'cef\\/libcef_dll\\//" #{filename}`
end
@ -33,7 +33,7 @@ end
desc "Download debug symbols for CEF"
task "download-cef-symbols" => "update-cef" do
sh %{prebuilt-cef/script/download -b 1423 -r 1135 -d https://gh-contractor-zcbenz.s3.amazonaws.com/cefode/prebuilt-cef -s cef}
sh %{prebuilt-cef/script/download -b 1424 -r 1135 -d https://gh-contractor-zcbenz.s3.amazonaws.com/cefode/prebuilt-cef -s cef}
end
task "bootstrap" do

View File

@ -5,7 +5,7 @@ set -e
cd "$(dirname $0)/.."
# Test whether we need update.
if [ -d "node/node" ]; then
if [ -f "node/node" ]; then
exit 0
fi