Commit Graph
9 Commits
Author SHA1 Message Date
baldurk 4d94209ec1 Change fixed clang-format version to 15
* We commit statically linked x64 binaries for clang-format-15 for windows and
  linux to make the transition easier for anyone running a linux distro that
  doesn't yet support llvm 15, or in future for distros that drop support for
  it.
2023-09-05 11:02:08 +01:00
William PearsonandBaldur Karlsson e6fb67c1e1 Support spaces in clang-format path
This allows setting the CLANG_FORMAT environment variable to (e.g.)
`C:/Program Files/LLVM3.8.1/bin/clang-format.exe` and then using the
script from Git Bash on Windows. Before, it would break if there
were spaces in the path. (If a suitable clang-format were in the PATH
environment variable, though, I don't think spaces caused problems.)
2023-04-12 10:54:19 +01:00
Jake TurnerandBaldur Karlsson add33d484c Modified find to work on Mac
Do basic find without regular expressions
Use grep -E to do the regular expression matching
Use awk to reconstruct an equivalent find -print0 output
2021-04-07 11:54:46 +01:00
Jake TurnerandBaldur Karlsson aca59e3f55 Added *.m & *.mm file extensions 2021-04-07 11:54:46 +01:00
Daniel CraigandBaldur Karlsson 35a3c09b6e Apply clang format to inl files from clang_format_all.sh 2020-03-20 16:16:01 +00:00
baldurk 892abb686f Apply clang-format to demos project as well 2020-01-16 23:06:23 +00:00
baldurk b08d277b61 Apply clang-format to embedded internal shader source
* It gets a couple of things less than ideal, mostly glsl block names being on
  the next line, but otherwise it's readable and stops mixed tabs/spaces which
  had snuck in without checks.
2018-12-17 17:10:34 +00:00
baldurk c7432fb535 Mark scripts under util/ folder as executable 2018-05-02 18:18:08 +01:00
baldurk e91116706c Move scripts/ folder to util/ 2018-05-01 18:53:03 +01:00