diff --git a/.gitmodules b/.gitmodules index e548e27f9..b93ea9fd7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -28,3 +28,7 @@ path = depends/libexpat url = ../../DFHack/libexpat.git shallow = true +[submodule "depends/luacov"] + path = depends/luacov + url = ../../keplerproject/luacov.git + shallow = true diff --git a/LICENSE.rst b/LICENSE.rst index 48bcfbe95..68678dfb3 100644 --- a/LICENSE.rst +++ b/LICENSE.rst @@ -27,6 +27,7 @@ libexpat_ MIT \(c\) 1998-2000 Thai Open Source Software Center L libzip_ BSD 3-clause \(c\) 1999-2020 Dieter Baron and Thomas Klausner linenoise_ BSD 2-clause \(c\) 2010, Salvatore Sanfilippo & Pieter Noordhuis lua_ MIT \(c\) 1994-2008, Lua.org, PUC-Rio. +luacov_ MIT \(c\) 2007 - 2018 Hisham Muhammad luafilesystem_ MIT \(c\) 2003-2014, Kepler Project lua-profiler_ MIT \(c\) 2002,2003,2004 Pepperfish protobuf_ BSD 3-clause \(c\) 2008, Google Inc. @@ -46,6 +47,7 @@ alt-getopt_ MIT \(c\) 2009 Aleksey Cheusov .. _libzip: https://github.com/nih-at/libzip .. _linenoise: http://github.com/antirez/linenoise .. _lua: http://www.lua.org +.. _luacov: https://github.com/keplerproject/luacov .. _luafilesystem: https://github.com/keplerproject/luafilesystem .. _lua-profiler: http://lua-users.org/wiki/PepperfishProfiler .. _protobuf: https://github.com/google/protobuf diff --git a/depends/CMakeLists.txt b/depends/CMakeLists.txt index de389ee92..f42955e7d 100644 --- a/depends/CMakeLists.txt +++ b/depends/CMakeLists.txt @@ -22,6 +22,8 @@ option(CLSOCKET_DEP_ONLY "Build for use inside other CMake projects as dependenc add_subdirectory(clsocket) ide_folder(clsocket "Depends") +install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/luacov/src/luacov/ DESTINATION ${DFHACK_DATA_DESTINATION}/lua/luacov) + # set the default values of libexpat options - the descriptions are left empty # because later option() calls *do* override those set(EXPAT_BUILD_EXAMPLES OFF CACHE BOOL "") diff --git a/depends/luacov b/depends/luacov new file mode 160000 index 000000000..19b52ca02 --- /dev/null +++ b/depends/luacov @@ -0,0 +1 @@ +Subproject commit 19b52ca0298c8942df82dd441d7a4a588db4c413