aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-06-24 15:15:33 -0300
committerHisham Muhammad <hisham@gobolinux.org>2015-06-24 15:15:33 -0300
commitca619eb7e29849c77783fdf3c7b0e2cfbe554629 (patch)
tree5cb16e58a7bbc00727f523b7e6f7ab69e8b81030 /src
parent8064e99d748e74194345617611c929dde2b69628 (diff)
parent8f7897c5851117d817d59a23353a61e047aee900 (diff)
downloadluarocks-ca619eb7e29849c77783fdf3c7b0e2cfbe554629.tar.gz
luarocks-ca619eb7e29849c77783fdf3c7b0e2cfbe554629.tar.bz2
luarocks-ca619eb7e29849c77783fdf3c7b0e2cfbe554629.zip
Merge pull request #394 from ignacio/build_mandatory
Make 'build' field in rockspecs mandatory.
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/type_check.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/luarocks/type_check.lua b/src/luarocks/type_check.lua
index 5e3bfb0d..65b4fc15 100644
--- a/src/luarocks/type_check.lua
+++ b/src/luarocks/type_check.lua
@@ -87,7 +87,8 @@ local rockspec_types = {
87 copy_directories = { 87 copy_directories = {
88 _any = string_1, 88 _any = string_1,
89 }, 89 },
90 _more = true 90 _more = true,
91 _mandatory = true
91 }, 92 },
92 hooks = { 93 hooks = {
93 platforms = {}, -- recursively defined below 94 platforms = {}, -- recursively defined below