gclient.bat 534 Bytes
Newer Older
maruel@chromium.org's avatar
maruel@chromium.org committed
1
@echo off
2
:: Copyright (c) 2012 The Chromium Authors. All rights reserved.
maruel@chromium.org's avatar
maruel@chromium.org committed
3 4
:: Use of this source code is governed by a BSD-style license that can be
:: found in the LICENSE file.
5
setlocal
maruel@chromium.org's avatar
maruel@chromium.org committed
6

7
:: Synchronize the root directory before deferring control back to gclient.py.
8
call "%~dp0update_depot_tools.bat" %*
maruel@chromium.org's avatar
maruel@chromium.org committed
9

10 11 12 13
:: Ensure that "depot_tools" is somewhere in PATH so this tool can be used
:: standalone, but allow other PATH manipulations to take priority.
set PATH=%PATH%;%~dp0

14
:: Defer control.
15
python "%~dp0gclient.py" %*