Commit 274a88e3 authored by Mathieu Stefani's avatar Mathieu Stefani

CMake: add format target

parent 45a434d6
......@@ -109,3 +109,12 @@ if (PISTACHE_BUILD_TESTS)
enable_testing()
add_subdirectory(tests)
endif()
# format target
add_custom_target(format
COMMAND
./tools/format.sh
WORKING_DIRECTORY
${CMAKE_CURRENT_SOURCE_DIR}
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment