Sha256: 4b0361b293da61a21f8f80eb3fb904b971e388e1ea326a92713874b45ffb0e30

Contents?: true

Size: 1.15 KB

Versions: 18

Compression:

Stored size: 1.15 KB

Contents

#!/usr/bin/env bash

# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# This is a shell script to ensure that all of the "depot_tools" bootstrap
# programs are locally downloaded and ready for execution.
#
# Unlike "update_depot_tools", this script works with the current
# checkout, and will not update/sync the "depot_tools" repository.
#
# TODO: This duplicates logic in "update_depot_tools". Update that script to
# invoke this script instead of manually calling "cipd_bin_setup" and other
# operations.

# Test if this script is running under a MinGW install.  If it is, we will
# hardcode the paths to Git where possible.
OUTPUT="$(uname | grep 'MINGW')"
MINGW=$?

if [ $MINGW = 0 ]; then
  base_dir="${0%/*}"
else
  base_dir=$(dirname "${BASH_SOURCE[0]}")
  if [ -L "$base_dir" ]; then
    base_dir=`cd "$base_dir" && pwd -P`
  fi
fi

# Sync CIPD-boostrapped packages.
source "$base_dir/cipd_bin_setup.sh"
cipd_bin_setup

# Sync "gsutil.py".
python "$base_dir/gsutil.py" -- version 1> /dev/null

# Cleanup.
find "$base_dir" -iname "*.pyc" -delete || true

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
libv8-7.8.279.23.0beta1 vendor/depot_tools/ensure_bootstrap
libv8-7.4.288.28.0beta1 vendor/depot_tools/ensure_bootstrap
libv8-7.3.492.27.3beta1 vendor/depot_tools/ensure_bootstrap
libv8-7.3.492.27.1 vendor/depot_tools/ensure_bootstrap
libv8-7.3.492.27.0 vendor/depot_tools/ensure_bootstrap
libv8-7.3.492.27.0beta1 vendor/depot_tools/ensure_bootstrap
libv8-6.7.288.46.1 vendor/depot_tools/ensure_bootstrap
libv8-6.7.288.46.0 vendor/depot_tools/ensure_bootstrap
libv8-6.7.288.46.1beta0 vendor/depot_tools/ensure_bootstrap
libv8-6.3.292.48.1 vendor/depot_tools/ensure_bootstrap
libv8-6.3.292.48.0 vendor/depot_tools/ensure_bootstrap
libv8-6.3.292.48.0beta2 vendor/depot_tools/ensure_bootstrap
libv8-6.3.292.48.0beta1 vendor/depot_tools/ensure_bootstrap
libv8-6.2.414.42.1 vendor/depot_tools/ensure_bootstrap
libv8-6.2.414.42.0 vendor/depot_tools/ensure_bootstrap
libv8-6.2.414.42.0beta1 vendor/depot_tools/ensure_bootstrap
libv8-6.0.286.54.3 vendor/depot_tools/ensure_bootstrap
libv8-6.0.286.54.2 vendor/depot_tools/ensure_bootstrap