support top-level commands

This commit is contained in:
2021-05-19 22:57:50 +03:00
committed by Motiejus Jakštys
parent 872d954a0b
commit 832ad34817
2 changed files with 3 additions and 3 deletions

View File

@@ -10,6 +10,6 @@ fi
exec docker run -ti --rm \
--net=host \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ${PWD}:/x \
-w /x \
-v $(git rev-parse --show-toplevel):/x \
-w /x/$(basename ${PWD}) \
"$NAME" "$@"