mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Auto merge of #28419 - dominiccooney:py3bat, r=jdm
Make mach.bat request Python 3 The mach Python script no longer supports Python 2, so don't use Python 2. Fixes #28379 Signed-off-by: Dominic Cooney <dominic.cooney@gmail.com> <!-- Please describe your changes on the following line: --> Make mach.bat request Python 3 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #28379 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because this is the script which you use to launch the tests <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
commit
a2f3a0b7aa
1 changed files with 1 additions and 1 deletions
2
mach.bat
2
mach.bat
|
@ -4,5 +4,5 @@ where /Q py.exe
|
||||||
IF %ERRORLEVEL% NEQ 0 (
|
IF %ERRORLEVEL% NEQ 0 (
|
||||||
python mach %*
|
python mach %*
|
||||||
) ELSE (
|
) ELSE (
|
||||||
py -2 mach %*
|
py -3 mach %*
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue