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:
parent
4760b8fb88
commit
5fc22f1431
6 changed files with 114 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue