diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-12-27 08:57:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-27 08:57:46 +0100 |
| commit | bb08f37a1c086697b12aeca43e0f78bc665719da (patch) | |
| tree | 264827fa4ce2de0614aeb2a453a2443ad5a8059a /src | |
| parent | b8d71fc41fe3476da0e4857294583eff271aa625 (diff) | |
| parent | 9bf4036d17eccc9d39d1ef64f7f3f0b68fb3dfdc (diff) | |
| download | rust-bb08f37a1c086697b12aeca43e0f78bc665719da.tar.gz rust-bb08f37a1c086697b12aeca43e0f78bc665719da.zip | |
Rollup merge of #106146 - kadiwa4:readme-x-py, r=jyn514
Readme: update section on how to run `x.py` `./x.py` currently looks for `python3` (not `python`) in the `PATH`. I updated that in the readme and also mentioned a convenient way to run `x.py` on Windows. The PowerShell script is actually quite inconvenient to use (and not really necessary on the `cmd.exe` prompt) so I left it out. In addition I adapted `./x` in one of the CI scripts.
Diffstat (limited to 'src')
| -rwxr-xr-x | src/ci/run.sh | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/ci/run.sh b/src/ci/run.sh index f05bb81d4a1..b6430027750 100755 --- a/src/ci/run.sh +++ b/src/ci/run.sh @@ -45,14 +45,6 @@ fi ci_dir=`cd $(dirname $0) && pwd` source "$ci_dir/shared.sh" -if command -v python > /dev/null; then - PYTHON="python" -elif command -v python3 > /dev/null; then - PYTHON="python3" -else - PYTHON="python2" -fi - if ! isCI || isCiBranch auto || isCiBranch beta || isCiBranch try || isCiBranch try-perf; then RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.print-step-timings --enable-verbose-tests" RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.metrics" @@ -201,7 +193,7 @@ if [ "$RUN_CHECK_WITH_PARALLEL_QUERIES" != "" ]; then mv metrics.json build fi - CARGO_INCREMENTAL=0 $PYTHON ../x.py check + CARGO_INCREMENTAL=0 ../x check fi sccache --show-stats || true |
