chore(tools): Remove deprecated depot-build tool

This has been superseded by magrathea.

Change-Id: Ief4a3d1b81e51e7a9c9a0112584fa7efc8aca63f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5328
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2022-02-26 17:37:24 +03:00 committed by clbot
parent 5d6de14d78
commit 2a7f73926a
3 changed files with 0 additions and 12 deletions

View file

@ -16,9 +16,6 @@ case "${TARGET_TOOL}" in
age-keygen)
attr="third_party.nixpkgs.age"
;;
depot-build)
attr="tools.depot-build"
;;
depot-nixpkgs-update)
attr="tools.depot-nixpkgs-update"
;;

View file

@ -1 +0,0 @@
__dispatch.sh

View file

@ -1,8 +0,0 @@
# Utility script for building any arbitrary depot path in its folder.
{ pkgs, ... }:
pkgs.writeShellScriptBin "depot-build" ''
TARGET=$(git rev-parse --show-prefix | sed 's|/$||')
echo "Building //$TARGET"
nix-build -A $(echo $TARGET | sed 's|/|.|g') $(${pkgs.git}/bin/git rev-parse --show-toplevel)
''