third-party: Use luacheck releases (0.21.2 for now) instead of master

Tracking master subjects us to breakages (as happened when
luacheck-scm-1.rockspec got renamed to luacheck-dev-1.rockspec) and
makes older releases unbuildable when that happens.
This commit is contained in:
James McCoy 2018-02-25 13:11:27 -05:00
parent 158f8b7ce3
commit c19ff66bfd
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB

View File

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