From 5dd7cd6e8fe33118cc9dbbe40412ed3c0f2c7003 Mon Sep 17 00:00:00 2001 From: Robert Iannucci Date: Fri, 26 May 2017 19:31:00 -0700 Subject: [PATCH] [led] add LUCI editor to depot_tools. R=nodir@chromium.org Bug: 662654 Change-Id: I18898cb426ccbb895a82410dc61910a8b8e48f14 Reviewed-on: https://chromium-review.googlesource.com/517664 Commit-Queue: Robbie Iannucci Reviewed-by: Nodir Turakulov --- cipd_manifest.txt | 3 +++ led | 12 ++++++++++++ led.bat | 7 +++++++ 3 files changed, 22 insertions(+) create mode 100755 led create mode 100644 led.bat diff --git a/cipd_manifest.txt b/cipd_manifest.txt index 86a5f099c..38f486bc5 100644 --- a/cipd_manifest.txt +++ b/cipd_manifest.txt @@ -4,3 +4,6 @@ # vpython. infra/tools/luci/vpython/${platform} git_revision:00f5394a90dfa98e53e191d5a6b543bce70c295f + +# LUCI editor +infra/tools/luci/led/${platform} git_revision:9b7d182a2118e215514087db4dab65204fe981e5 diff --git a/led b/led new file mode 100755 index 000000000..7f7eeac1f --- /dev/null +++ b/led @@ -0,0 +1,12 @@ +#!/bin/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. + +MYPATH=$(dirname "${BASH_SOURCE[0]}") + +source "$MYPATH/cipd_bin_setup.sh" +cipd_bin_setup + +exec "$MYPATH/.cipd_bin/led" "$@" diff --git a/led.bat b/led.bat new file mode 100644 index 000000000..857ad12d2 --- /dev/null +++ b/led.bat @@ -0,0 +1,7 @@ +@echo off +:: 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. + +call "%~dp0\cipd_bin_setup.bat" +"%~dp0\.cipd_bin\led.exe" %*