diff options
| author | Casey Rodarmor <casey@rodarmor.com> | 2020-11-01 19:43:51 -0800 |
|---|---|---|
| committer | Casey Rodarmor <casey@rodarmor.com> | 2020-11-03 19:40:02 -0800 |
| commit | 5fc22f1431e209610040d92ba671966ab2781f0b (patch) | |
| tree | 39e916153d6f038281aadfe1c01c6bc9dc7cc07c /.gitignore | |
| parent | 4760b8fb886a3702ae11bfa7868d495b2675b5ed (diff) | |
| download | rust-5fc22f1431e209610040d92ba671966ab2781f0b.tar.gz rust-5fc22f1431e209610040d92ba671966ab2781f0b.zip | |
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`
Diffstat (limited to '.gitignore')
| -rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 1c50d9b054d..5f7135e38d1 100644 --- a/.gitignore +++ b/.gitignore @@ -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 |
