mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 11:35:02 -05:00
13 lines
331 B
Bash
Executable File
13 lines
331 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e -o pipefail
|
|
|
|
cmake-format -i CMakeLists.txt -c .cmake-format-config.py
|
|
|
|
find ./{include,lib,src,tests} -type f -name "CMakeLists.txt" | xargs -I % sh -c 'cmake-format -i % -c .cmake-format-config.py'
|
|
|
|
# show changes if any
|
|
git --no-pager diff
|
|
# fail if there is a diff, success otherwise
|
|
git diff | ifne exit 1
|