1
Fork 0

Add a tool to run x.py from any subdirectory

This adds a binary called `x` in `src/tools/x`. All it does is check the
current directory and its ancestors for a file called `x.py`, and if it
finds one, runs it.

By installing x, you can easily `x.py` from any subdirectory.

It can be installed globally with `cargo install --path src/tools/x`
This commit is contained in:
Casey Rodarmor 2020-11-01 19:43:51 -08:00
parent 4760b8fb88
commit 5fc22f1431
No known key found for this signature in database
GPG key ID: 556186B153EC6FE0
6 changed files with 114 additions and 0 deletions

1
.gitignore vendored
View file

@ -31,6 +31,7 @@ __pycache__/
/inst/
/llvm/
/mingw-build/
/src/tools/x/target
# Created by default with `src/ci/docker/run.sh`:
/obj/
/unicode-downloads