mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
CMake: Add convenience targets to run lint-shell-scripts and check-style
This commit is contained in:
parent
d963be795d
commit
83c11434e4
Notes:
sideshowbarker
2024-07-19 06:00:03 +09:00
Author: https://github.com/emanuele6 Commit: https://github.com/SerenityOS/serenity/commit/83c11434e4f Pull-request: https://github.com/SerenityOS/serenity/pull/2432
1 changed files with 9 additions and 0 deletions
|
@ -20,6 +20,15 @@ add_custom_target(grub-image
|
|||
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")
|
||||
|
||||
include_directories(Libraries)
|
||||
|
|
Loading…
Reference in a new issue