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:
1
Makefile
1
Makefile
@@ -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'),)
|
||||
|
||||
Submodule ethereum-plugin-sdk updated: aeaf6450c3...82909e4f90
Reference in New Issue
Block a user