🎉 Added duf

This commit is contained in:
2021-08-23 13:03:48 +02:00
parent 76afab8189
commit 6e23d82c0a
6 changed files with 71 additions and 14 deletions

28
CMakeLists.txt Normal file
View File

@@ -0,0 +1,28 @@
cmake_minimum_required(VERSION 3.16)
project(ci-scripts LANGUAGES NONE)
set(TOOLS
"kitware/cmake"
"mozilla/sccache"
"muesli/duf"
)
foreach (item IN ITEMS ${TOOLS})
string(REPLACE "/" ";" RLIST ${item})
list(GET RLIST 1 TOOL)
add_custom_target(
${TOOL}
COMMAND ${CMAKE_COMMAND} -DGH_REPO=${item} -P ${CMAKE_SOURCE_DIR}/update.cmake
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
VERBATIM
)
list(APPEND all_tools ${TOOL})
endforeach ()
add_custom_target(
update_all ALL
COMMENT "Update all tools"
DEPENDS ${all_tools}
VERBATIM
)