diff options
| author | Ignacio Burgueño <ignaciob@inconcertcc.com> | 2015-06-24 14:43:08 -0300 |
|---|---|---|
| committer | Ignacio Burgueño <ignaciob@inconcertcc.com> | 2015-06-24 14:43:08 -0300 |
| commit | 8f7897c5851117d817d59a23353a61e047aee900 (patch) | |
| tree | e0411e48ad205ecf1b96222bf720a523b54a7b4e /src | |
| parent | a0315b7bc2432ea517bb90ce39df0cc8b1cd2f65 (diff) | |
| download | luarocks-8f7897c5851117d817d59a23353a61e047aee900.tar.gz luarocks-8f7897c5851117d817d59a23353a61e047aee900.tar.bz2 luarocks-8f7897c5851117d817d59a23353a61e047aee900.zip | |
Make 'build' field in rockspecs mandatory.
Rockspecs must have a 'build' field. If by any chance, it is not needed
(see #379), add this:
````lua
build = { type = "none" }
````
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/type_check.lua | 3 |
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 |
