neovim/cmake
Justin M. Keyes f90174c98c
build(lint): fix luacheck not found #18940
Problem:
Since 6d57bb89c1 #18543, luacheck is not found on some systems when
running the "lintlua" target.

Solution:
- Move the find_program() to the top-level CMakeLists.txt
- Define a def_cmd_target() function with fewer assumptions than the old
  lint() function.
- Move "lintuncrustify" to src/nvim/CMakeLists.txt so it can reuse the
  $LINT_NVIM_SOURCES already defined there.
- Make the lint targets _fatal_ by default. There is little reason for
  the "lint" umbrella target defined in Makefile to exist if it's going
  to ignore the absence of the actual linters.
- For now, keep the uncrustify call in a separate cmake script so that
  it can be silenced (too noisy).
2022-06-12 15:08:01 -07:00
..
ConvertPo.cmake Move po generation from Make to CMake. 2014-07-17 07:16:53 -04:00
DefCmdTarget.cmake build(lint): fix luacheck not found #18940 2022-06-12 15:08:01 -07:00
Download.cmake cmake: Allow failing to download small suppress files 2017-03-31 16:04:18 +03:00
FindIconv.cmake build/msvc: Add libiconv to bundled dependencies 2018-06-09 20:50:02 -05:00
FindLibIntl.cmake build/MSVC: fix gettext multibyte issue #11774 2020-01-28 00:56:26 -08:00
FindLibLUV.cmake build: prioritize statically built libluv in search 2021-08-14 06:53:52 -06:00
FindLibTermkey.cmake build: clean up / remove X_USE_STATIC (#10713) 2019-08-07 22:19:55 +02:00
FindLibUV.cmake fix(build): call find_package(Threads) before using its variables 2021-09-21 06:56:59 -04:00
FindLIBVTERM.cmake build: rename CMake find modules for LibFindMacros #10928 2019-09-06 14:39:41 -07:00
FindLua.cmake build/FindLua.cmake: allow Lua 5.4 #12820 2020-08-31 22:06:59 -07:00
FindLuaJit.cmake revert: "ci: remove mingw job #18580" 2022-05-17 17:07:45 +02:00
FindMsgpack.cmake build: clean up / remove X_USE_STATIC (#10713) 2019-08-07 22:19:55 +02:00
FindTreeSitter.cmake Align naming of FindTreeSitter cmake file and variables 2020-11-09 15:15:03 -05:00
FindUNIBILIUM.cmake build: rename CMake find modules for LibFindMacros #10928 2019-09-06 14:39:41 -07:00
GetCompileFlags.cmake cmake/GetCompileFlags: include CMAKE_C_COMPILER_ARG1 (#11091) 2019-09-25 00:09:23 +02:00
i386-linux-gnu.toolchain.cmake Travis: Refactor CI files, use container infrastructure. 2015-07-08 07:42:16 -03:00
InstallClintErrors.cmake cmake: Use archive instead of downloading *.json files (#6482) 2017-04-09 03:28:48 +02:00
InstallHelpers.cmake build(install): rescan GLOB files on rebuild 2021-10-18 11:44:15 +02:00
LibFindMacros.cmake build: fix warning with passively available libintl (#10380) 2019-07-01 03:32:52 +02:00
LuaHelpers.cmake build: adjust some messages (#9087) 2018-10-06 18:45:34 +02:00
PreventInTreeBuilds.cmake build: prevent in-tree builds for the time being, as it's not supported 2016-10-11 20:20:31 -04:00
RunMsgfmt.cmake Move po generation from Make to CMake. 2014-07-17 07:16:53 -04:00
RunMsgmerge.cmake Move po generation from Make to CMake. 2014-07-17 07:16:53 -04:00
RunTests.cmake refactor(log): simplify log_path_init #18898 2022-06-08 08:47:34 -07:00
RunUncrustify.cmake build(lint): fix luacheck not found #18940 2022-06-12 15:08:01 -07:00
RunXgettext.cmake Move po generation from Make to CMake. 2014-07-17 07:16:53 -04:00
UninstallHelper.cmake.in Add uninstall target for make and others 2021-03-16 15:33:39 +03:00
WindowsDllCopy.cmake MSVC: Build third-party dependencies as release DLLs 2016-08-07 21:57:28 +01:00