summaryrefslogtreecommitdiff
path: root/scripts/clang-format-diff.sh
Commit message (Collapse)AuthorAgeFilesLines
* Don't try to find upstream in detached HEAD (#2387)Soni L2024-02-081-1/+12
| | | HEAD is detached for new branches.
* Fix lint CI on push (#1839)Soni L2022-02-231-0/+2
|
* Add clang-format check to CI (#1683)Heejin Ahn2021-08-051-0/+24
This adds clang-format check to the CI. This only checks the diff so it doesn't affect the other parts of the codebase. Also generated files in src/prebuilt/ directories are excluded from the check. A new src/prebuilt/.clang-format is added to disable the check in the directory. scripts/clang-format-diff.sh is copied from the same file we are using in Binaryen.