mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
This adds reclient_metrics and reclient_metrics.bat to make it easier to run reclient_metrics.py. In particular this lets the script be run without caring about its location and without (on Windows) having to prefix the script with "python3". This slightly simplifies the reclient instructions. Bug: None Change-Id: Ied58f452edb13cf257873ddee043817a765eee3c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4764130 Auto-Submit: Bruce Dawson <brucedawson@chromium.org> Reviewed-by: Ben Segall <bentekkie@google.com> Commit-Queue: Scott Lee <ddoman@chromium.org> Reviewed-by: Scott Lee <ddoman@chromium.org>
9 lines
263 B
Bash
Executable File
9 lines
263 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Copyright 2023 The Chromium Authors
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
base_dir=$(dirname "$0")
|
|
PYTHONDONTWRITEBYTECODE=1 exec python3 "$base_dir/reclient_metrics.py" "$@"
|