From cd40b4dbd6b73a7740cc48798a7d3ed9c0bcafdd Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 16 Apr 2018 18:02:31 -0300 Subject: rockspec: add missing references to build_dependencies --- src/luarocks/type/rockspec.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/luarocks/type/rockspec.lua b/src/luarocks/type/rockspec.lua index 54ce9db8..0364b7fb 100644 --- a/src/luarocks/type/rockspec.lua +++ b/src/luarocks/type/rockspec.lua @@ -117,12 +117,13 @@ local rockspec_types = { type_rockspec.order = {"rockspec_format", "package", "version", { "source", { "url", "tag", "branch", "md5" } }, { "description", {"summary", "detailed", "homepage", "license" } }, - "supported_platforms", "dependencies", "external_dependencies", + "supported_platforms", "dependencies", "build_dependencies", "external_dependencies", { "build", {"type", "modules", "copy_directories", "platforms"} }, "hooks"} rockspec_types.build.platforms._any = rockspec_types.build rockspec_types.dependencies.platforms._any = rockspec_types.dependencies +rockspec_types.build_dependencies.platforms._any = rockspec_types.build_dependencies rockspec_types.external_dependencies.platforms._any = rockspec_types.external_dependencies rockspec_types.source.platforms._any = rockspec_types.source rockspec_types.hooks.platforms._any = rockspec_types.hooks -- cgit v1.2.3-55-g6feb