1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-09 09:34:49 +09:00
Commit graph

9 commits

Author SHA1 Message Date
Bruce Forstall
862c82f0e9
Update JIT sources to clang-format/clang-tidy 17.0.6 (#100498)
* Update JIT sources to clang-format/clang-tidy 17.0.6

* Reformat

* Reformat x86
2024-04-03 14:43:36 -07:00
Alexander Köplinger
883ffc4d18
Fix format.sh script and remove dotnet-format tool from dotnet-tools.json (#94839)
We're no longer using the separate dotnet-format tool since it is integrated into the dotnet SDK now.

With the move to the SDK the options changed a bit so we now need to use the `whitespace` format command so we can continue using the `--folder` option: https://github.com/dotnet/format/issues/1385

To run not just whitespace but code style formatters as well we'd need a workspace context (i.e. pass the .csproj to dotnet format), but inferring that from just the changed file list is hard.
2023-11-16 15:38:39 +01:00
Bruce Forstall
af775c9ce7
Fix clang tool downloads (#84799)
1. Make downloading more robust by failing the download script if
there is a download error.
2. Map macOS and Ubuntu RIDs to RIDs that we know have versions to
download. This same logic is in the dotnet/jitutils bootstrap.sh script.
We don't want to upload versions for every RID since they are all
compatible. This makes the script robust to people running on new
releases.
3. Add more logging.
2023-04-13 13:49:47 -07:00
Jeremy Koritzinsky
1e529bcbb6
Update Roslyn and use new step tracking API in incremental tests. (#63978) 2022-03-02 17:07:43 -08:00
Jeremy Koritzinsky
1323e3c787
Add xargs for dotnet format command (#65090)
* Add xargs for dotnet format command

This is needed to correctly pass the file names to `dotnet format`

* Update eng/formatting/format.sh
2022-02-17 07:48:53 -08:00
Jeremy Koritzinsky
968746b87e
Update format script permissions so it can be called on Unix systems directly. (#64107) 2022-01-21 13:32:26 -08:00
Adeel Mujahid
6cc2d2e478
Fix a few syntax issues in shell scripts (#62102)
* Fix a few syntax issues in shell scripts

* Cleanup trailing whitespace in changed files
```sh
# git remote add dotnet https://github.com/dotnet/runtime && git pull --rebase dotnet main

if uname 2>/devnull | grep -q Darwin; then
    space=" "
fi

git show --name-only --pretty="" HEAD...dotnet/main |\
    xargs -I{} sh -c "test -f {} && sed -i$space'' 's/[[:space:]]*$//' {}"
```

* Address CR feedback
2021-11-30 17:32:39 -06:00
Jakob Botsch Nielsen
5e4bd4051b
Fix retry when downloading clang tools (#59806)
Invoke-WebRequest throws an exception when the download fails, so we
should use try-catch instead of status code to check failure. We can use
the generic Retry function from tools.ps1 to do this.

In addition pass -PassThru to avoid leaving a corrupted download file in
case the download fails. This will buffer the download and write it once
at the end.

Fix #57196
2021-09-30 19:14:24 +02:00
Jeremy Koritzinsky
a526e77b6d
Move clang-format download into dotnet/runtime and add docs for setting up auto-formatting in the repository (#59374) 2021-09-23 14:34:00 -07:00