about summary refs log tree commit diff
path: root/bin/__dispatch.sh
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-12-15T16·31+0300
committertazjin <mail@tazj.in>2021-12-17T20·48+0000
commit564ad52b306bc1a3abe2afa9380bb0552144b23e (patch)
tree6f80c1c32a58b6240cc86bd89f0c9fcc879f3cbe /bin/__dispatch.sh
parent887ac4d3d479b2c5c991ed718792bba7a38b4948 (diff)
feat(tools/magrathea): bootstrap a tool for working with depot r/3286
this is going to be a serious version of //tools/depot-build.

right now it doesn't support parsing any target specs yet, so only
shells and builds for the physical project of the current folder work.

Change-Id: I4308e29da940571622ff9e539fbb8ededd27aca7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4335
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'bin/__dispatch.sh')
-rwxr-xr-xbin/__dispatch.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/__dispatch.sh b/bin/__dispatch.sh
index 0a049c1ecb..c4d8b59919 100755
--- a/bin/__dispatch.sh
+++ b/bin/__dispatch.sh
@@ -37,6 +37,9 @@ case "${TARGET_TOOL}" in
   meson)
     attr="third_party.nixpkgs.meson"
     ;;
+  mg)
+    attr="tools.magrathea"
+    ;;
   ninja)
     attr="third_party.nixpkgs.ninja"
     ;;