You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2019/01/18 16:33:33 UTC

[trafficserver] branch master updated: Add clang-format build target to CMake editor file.

This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 1e471d2  Add clang-format build target to CMake editor file.
1e471d2 is described below

commit 1e471d22a1cc105b20cb4ff3b492e78ca060e669
Author: Alan M. Carroll <am...@apache.org>
AuthorDate: Wed Jan 16 13:44:48 2019 -0600

    Add clang-format build target to CMake editor file.
---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5fa91bc..9eb3dd0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -122,3 +122,4 @@ file(GLOB plugin_files
         )
 add_library(plugins SHARED ${plugin_files})
 
+add_custom_target(clang-format WORKING_DIRECTORY ${CMAKE_HOME_DIRECTORY} COMMAND make clang-format)