support top-level commands

This commit is contained in:
Motiejus Jakštys
2021-05-09 17:03:40 +03:00
parent 4decf5c851
commit 25ab3159c9
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" "$@"