Commit Graph

8 Commits

Author SHA1 Message Date
Matthias Krüger
60db448790
Rollup merge of #111151 - ozkanonur:syntax-check-on-bootstrap-scripts, r=Mark-Simulacrum
check bootstrap scripts syntax

Fails bootstrapping if `x`/`x.ps1` scripts are not valid. Currently, it keeps executing lines until the invalid one.
2023-05-06 23:32:01 +02:00
ozkanonur
eea6202c24 check bootstrap scripts syntax
Signed-off-by: ozkanonur <work@onurozkan.dev>
2023-05-03 20:32:39 +03:00
Chris Denton
9ea7142a01
Return error code from x.ps1 2023-05-03 18:21:36 +01:00
Chris Denton
96501bdbe4
Powershell: Create a Start-Process wrapper 2022-12-28 19:41:42 +00:00
Chris Denton
874cefad9b
Powershell: Use WaitForExit instead of -Wait 2022-12-28 15:41:46 +00:00
Albert Larsan
c83ddaef94
Add better python discovery
`x.ps1` and `x` will now search for python executables like `python3.9`
and `python3.10.exe`
2022-10-31 08:33:24 +01:00
Josh Stone
de8dedb0a5 Use an extensionless x script for non-Windows 2022-08-12 15:39:26 -07:00
Joshua Nelson
775c3c0493 Add x.sh and x.ps1 shell scripts
This is a more ambitious version of https://github.com/rust-lang/rust/pull/98716.
It still changes the shebang back to python3, for compatibility with non-Unix systems,
but also adds alternative entrypoints for systems without `python3` installed.

These scripts will be necessary for the rust entrypoint (#94829), so I see
little downside in adding them early.
2022-08-08 14:48:11 -05:00