From b8b2f7f5241dfcacc7fd8b591b8a61513fa3b600 Mon Sep 17 00:00:00 2001 From: Jean P <10632523+TamtamHero@users.noreply.github.com> Date: Mon, 19 Jul 2021 16:13:16 +0200 Subject: [PATCH] Apply clang-format to plugin sdk when checking it (#172) * Add clang-format step before verifying plugin-sdk integrity * update plugin sdk --- Makefile | 1 + ethereum-plugin-sdk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a3cd567..477bc06 100755 --- a/Makefile +++ b/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'),) diff --git a/ethereum-plugin-sdk b/ethereum-plugin-sdk index aeaf645..82909e4 160000 --- a/ethereum-plugin-sdk +++ b/ethereum-plugin-sdk @@ -1 +1 @@ -Subproject commit aeaf6450c32c8134a7d19b1852554771ca8bc4be +Subproject commit 82909e4f902b4448aa308f571ca4c4e8c5880124