From 2a7f73926a0afcbfd7c071c1613afdeb14b8dcb9 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 26 Feb 2022 17:37:24 +0300 Subject: 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 Reviewed-by: sterni Tested-by: BuildkiteCI --- bin/__dispatch.sh | 3 --- bin/depot-build | 1 - tools/depot-build.nix | 8 -------- 3 files changed, 12 deletions(-) delete mode 120000 bin/depot-build delete mode 100644 tools/depot-build.nix diff --git a/bin/__dispatch.sh b/bin/__dispatch.sh index 7983394cc38b..28a7ae5ebd4c 100755 --- a/bin/__dispatch.sh +++ b/bin/__dispatch.sh @@ -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" ;; diff --git a/bin/depot-build b/bin/depot-build deleted file mode 120000 index 8390ec9c9652..000000000000 --- a/bin/depot-build +++ /dev/null @@ -1 +0,0 @@ -__dispatch.sh \ No newline at end of file diff --git a/tools/depot-build.nix b/tools/depot-build.nix deleted file mode 100644 index 62b4c7fc4476..000000000000 --- a/tools/depot-build.nix +++ /dev/null @@ -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) -'' -- cgit 1.4.1