Apply clang-format to plugin sdk when checking it (#172)

* Add clang-format step before verifying plugin-sdk integrity

* update plugin sdk
This commit is contained in:
Jean P
2021-07-19 16:13:16 +02:00
committed by GitHub
parent 46d5b45e9c
commit b8b2f7f524
2 changed files with 2 additions and 1 deletions

View File

@@ -340,6 +340,7 @@ endif
# rebuild
$(shell python3 ethereum-plugin-sdk/build_sdk.py)
$(shell find ./ethereum-plugin-sdk -iname '*.h' -o -iname '*.c' | xargs clang-format-10 -i)
# check if a difference is noticed (fail if it happens in CI build)
ifneq ($(shell git status | grep 'ethereum-plugin-sdk'),)