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 /test/testfiles | |
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 'test/testfiles')
-rw-r--r-- | test/testfiles/no_build_table-0.1-1.rockspec | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/testfiles/no_build_table-0.1-1.rockspec b/test/testfiles/no_build_table-0.1-1.rockspec new file mode 100644 index 00000000..5d79e9a0 --- /dev/null +++ b/test/testfiles/no_build_table-0.1-1.rockspec | |||
@@ -0,0 +1,12 @@ | |||
1 | package = "no_build_table" | ||
2 | version = "0.1-1" | ||
3 | source = { | ||
4 | -- any valid URL | ||
5 | url = "https://raw.github.com/keplerproject/luarocks/master/src/luarocks/build.lua" | ||
6 | } | ||
7 | description = { | ||
8 | summary = "A rockspec with no build field", | ||
9 | } | ||
10 | dependencies = { | ||
11 | "lua >= 5.1" | ||
12 | } | ||