build: BuildLuarocks.cmake: fix luacheck rockspec (#7961)

luacheck renamed the filename from luacheck-scm-1.rockspec to luacheck-dev-1.rockspec.
This commit is contained in:
손량
2018-02-02 19:21:58 +09:00
committed by Justin M. Keyes
parent 709a87d194
commit e2afcfb020

View File

@@ -152,7 +152,7 @@ if(USE_BUNDLED_BUSTED)
# DEPENDS on the previous module, because Luarocks breaks if parallel. # DEPENDS on the previous module, because Luarocks breaks if parallel.
add_custom_command(OUTPUT ${LUACHECK_EXE} add_custom_command(OUTPUT ${LUACHECK_EXE}
COMMAND ${LUAROCKS_BINARY} COMMAND ${LUAROCKS_BINARY}
ARGS build https://raw.githubusercontent.com/mpeterv/luacheck/master/luacheck-scm-1.rockspec ${LUAROCKS_BUILDARGS} ARGS build https://raw.githubusercontent.com/mpeterv/luacheck/master/luacheck-dev-1.rockspec ${LUAROCKS_BUILDARGS}
DEPENDS busted) DEPENDS busted)
add_custom_target(luacheck add_custom_target(luacheck
DEPENDS ${LUACHECK_EXE}) DEPENDS ${LUACHECK_EXE})