mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:07:36 +00:00
CMake: Add convenience targets to run lint-shell-scripts and check-style
This commit is contained in:
parent
d963be795d
commit
83c11434e4
1 changed files with 9 additions and 0 deletions
|
@ -20,6 +20,15 @@ add_custom_target(grub-image
|
||||||
USES_TERMINAL
|
USES_TERMINAL
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_custom_target(lint-shell-scripts
|
||||||
|
COMMAND ${CMAKE_SOURCE_DIR}/Meta/lint-shell-scripts.sh
|
||||||
|
USES_TERMINAL
|
||||||
|
)
|
||||||
|
add_custom_target(check-style
|
||||||
|
COMMAND ${CMAKE_SOURCE_DIR}/Meta/check-style.sh
|
||||||
|
USES_TERMINAL
|
||||||
|
)
|
||||||
|
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -std=c++2a -fdiagnostics-color=always")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -std=c++2a -fdiagnostics-color=always")
|
||||||
|
|
||||||
include_directories(Libraries)
|
include_directories(Libraries)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue