Use atom/cefode.

This commit is contained in:
Cheng Zhao 2013-03-24 19:39:23 +08:00
parent b5be1c378a
commit 371fdde4f9
3 changed files with 6 additions and 6 deletions

View File

@ -28,7 +28,7 @@ end
desc "Download node binary"
task "update-node" do
`script/update-node v0.8.22`
`script/update-node v0.10.1`
end
desc "Download debug symbols for CEF"

View File

@ -21,8 +21,8 @@ exit_unless_npm_exists
npm install npm --silent
NODE_DIR="$HOME/.cefode-gyp"
NODE_VERSION="0.8.22"
NODE_URL="https://gh-contractor-zcbenz.s3.amazonaws.com/cefode/dist"
NODE_VERSION="0.10.1"
NODE_URL="https://gh-contractor-zcbenz.s3.amazonaws.com/cefode2/dist"
if [ ! -d "node_modules/node-gyp" ]; then
./node_modules/.bin/npm install node-gyp --silent
HOME="$NODE_DIR" ./node_modules/.bin/node-gyp install --target="$NODE_VERSION" --dist-url="$NODE_URL" --arch=ia32

View File

@ -13,7 +13,7 @@ else
TARGET=$1
fi
DISTURL="https://gh-contractor-zcbenz.s3.amazonaws.com/cefode/prebuilt-cef"
DISTURL="https://gh-contractor-zcbenz.s3.amazonaws.com/cefode2/prebuilt-cef"
CEF_BASENAME="cef_binary_3.1423.1133_macosx"
CEF_SYMBOLS_BASENAME="${CEF_BASENAME}_symbols"
@ -29,7 +29,7 @@ fi
CURRENT_VERSION=`cat cef/version 2>&1`
if [[ $LATEST_VERSION != $CURRENT_VERSION ]]; then
echo "Downloading/extracting cefode u${LATEST_VERSION}..."
echo "Downloading/extracting cefode2 u${LATEST_VERSION}..."
curl --progress-bar "${DISTURL}/cef_binary_latest.zip" > "${TEMP_DIR}/cef.zip"
unzip -q "${TEMP_DIR}/cef.zip" -d "${TEMP_DIR}"
[ -e "${TARGET}" ] && rm -rf "${TARGET}"
@ -41,7 +41,7 @@ if [[ "${SYMBOLS}" != "1" ]]; then
exit 0
fi
echo "Downloading/extracting symbols for cefode u${LATEST_VERSION}..."
echo "Downloading/extracting symbols for cefode2 u${LATEST_VERSION}..."
curl --progress-bar "${DISTURL}/cef_binary_latest_symbols.zip" > "${TEMP_DIR}/symbols.zip"
unzip -q "${TEMP_DIR}/symbols.zip" -d "${TEMP_DIR}"
mv "${TEMP_DIR}/${CEF_SYMBOLS_BASENAME}"/* "${TARGET}/Release"