about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-02-26T14·37+0300
committerclbot <clbot@tvl.fyi>2022-02-26T14·39+0000
commit2a7f73926a0afcbfd7c071c1613afdeb14b8dcb9 (patch)
tree820a655ef2dd4d16b7dd23f52e58826951aad832
parent5d6de14d78ee6c89f488abccf1c9c81091e2f4b7 (diff)
chore(tools): Remove deprecated depot-build tool r/3869
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
-rwxr-xr-xbin/__dispatch.sh3
l---------bin/depot-build1
-rw-r--r--tools/depot-build.nix8
3 files changed, 0 insertions, 12 deletions
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)
-''