1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-16 04:22:43 +01:00

12 Commits

Author SHA1 Message Date
Michał Janiszewski
814f54fe34 Format files in-place so the changes can be viewed with git diff 2025-09-19 14:55:10 +02:00
Michał Janiszewski
bdf81280a5 Format Objective-C source (#24945)
* Reformat Objective-C source

* clang-format Objective-C code

Format objective-c code as well.

I think way back in the past clang-format failed to parse objective-c code, but it works ok now.
2025-08-10 13:58:22 +02:00
Michał Janiszewski
f6292b4c13 Use clang-format 20 (#24861)
https://clang.llvm.org/docs/ClangFormatStyleOptions.html
2025-07-31 11:01:48 +02:00
Michał Janiszewski
78984e8efe Fix clang-format path for new binary 2024-12-09 23:20:03 +01:00
Michał Janiszewski
61ae3a26ee Use image 17-format with clang 18 2024-10-03 10:49:25 +10:00
mrmbernardi
5b42da2646 Add clang format for shaders (#21066) 2023-12-08 13:02:43 +01:00
Margen67
2e8c16e028 Change shebang to env
Move parameters from shebang back into set.
Add set -e to setenv and vstool for consistency.
2022-03-16 18:21:11 -07:00
Margen67
c5052c05a1 Make check-code-formatting POSIX compatible
[[ ]] double bracket conditions and $OSTYPE are both features of Bash.
2022-03-16 18:21:11 -07:00
Margen67
3188865313 Script improvements (#14452)
shebang:
 Move parameters from set.
 Add newline after for consistency.
curl:
 Add -f;
  Prevents output on error.
 Use -O where applicable;
  -o with the same filename as the URL is pointless.
 Add -S after -s:
  Makes curl still error despite being silent.
build-symbols:
 Add zip fallback.
get-discord-rpc:
 Move git clone parameters before repository for readability.
 Use --depth 1 to speed up cloning.
install-nsis:
 Use ProgramData environment variable.
build-appimage-docker.sh:
 Add -e to docker run.
 Run script directly.
build-appimage.sh:
 Make if more consistent.
Remove unused Travis scripts.
setenv:
 unset instead of blanking variables.
vstool.cmd:
 Use ProgramFiles(x86) environment variable.
2021-04-12 19:01:15 -03:00
Peter Ryszkiewicz
2277c8ee4a Adjust code formatting checks script for macOS (#10930) 2020-05-05 23:17:39 +02:00
Ted John
e6341f0a42 Get scripting compiling on clang 2020-04-26 14:35:03 +01:00
Ted John
eab255c4bf Add Linux portable to GitHub CI (#10612) 2020-01-24 11:46:12 +00:00