2013-02-19 01:06:57 +04:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
cd "$(dirname $0)/.."
|
|
|
|
SOURCE_ROOT=$(pwd -P)
|
2013-02-19 19:57:35 +04:00
|
|
|
VENDOR_DIR="${SOURCE_ROOT}/vendor"
|
2013-02-21 00:43:57 +04:00
|
|
|
DEPOT_TOOLS_DIR="${VENDOR_DIR}/depot_tools"
|
2013-02-19 01:06:57 +04:00
|
|
|
|
|
|
|
git submodule sync
|
|
|
|
git submodule update --init --recursive
|
2013-02-21 00:43:57 +04:00
|
|
|
test -d "${DEPOT_TOOLS_DIR}" || git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git "${DEPOT_TOOLS_DIR}"
|
2013-02-19 01:06:57 +04:00
|
|
|
|
|
|
|
"${SOURCE_ROOT}/script/update"
|