Skip to content

Commit

Permalink
Add clang-format check for pulsar wireshark dissector (apache#13349)
Browse files Browse the repository at this point in the history
### Motivation

Currently, the Pulsar Wireshark dissector code doesn't format with clang style, we should add clang-format to format it.

### Modifications

Add clang-format to format `pulsarDissector.cc`
  • Loading branch information
Demogorgon314 authored Dec 16, 2021
1 parent cb4eaeb commit 73baf2d
Show file tree
Hide file tree
Showing 2 changed files with 250 additions and 317 deletions.
6 changes: 4 additions & 2 deletions pulsar-client-cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,8 @@ add_custom_target(format python ${BUILD_SUPPORT_DIR}/run_clang_format.py
${CMAKE_SOURCE_DIR}/perf
${CMAKE_SOURCE_DIR}/examples
${CMAKE_SOURCE_DIR}/tests
${CMAKE_SOURCE_DIR}/include)
${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/wireshark)

# `make check-format` option (for CI test)
add_custom_target(check-format python ${BUILD_SUPPORT_DIR}/run_clang_format.py
Expand All @@ -464,4 +465,5 @@ add_custom_target(check-format python ${BUILD_SUPPORT_DIR}/run_clang_format.py
${CMAKE_SOURCE_DIR}/perf
${CMAKE_SOURCE_DIR}/examples
${CMAKE_SOURCE_DIR}/tests
${CMAKE_SOURCE_DIR}/include)
${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/wireshark)
Loading

0 comments on commit 73baf2d

Please sign in to comment.