feat(tools/magrathea): bootstrap a tool for working with depot

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>
This commit is contained in:
Vincent Ambo 2021-12-15 19:31:47 +03:00 committed by tazjin
parent 887ac4d3d4
commit 564ad52b30
4 changed files with 137 additions and 0 deletions

View file

@ -37,6 +37,9 @@ case "${TARGET_TOOL}" in
meson)
attr="third_party.nixpkgs.meson"
;;
mg)
attr="tools.magrathea"
;;
ninja)
attr="third_party.nixpkgs.ninja"
;;

1
bin/mg Symbolic link
View file

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