aboutsummaryrefslogtreecommitdiff
path: root/test/testfiles
diff options
context:
space:
mode:
authorIgnacio Burgueño <ignaciob@inconcertcc.com>2015-06-24 14:43:08 -0300
committerIgnacio Burgueño <ignaciob@inconcertcc.com>2015-06-24 14:43:08 -0300
commit8f7897c5851117d817d59a23353a61e047aee900 (patch)
treee0411e48ad205ecf1b96222bf720a523b54a7b4e /test/testfiles
parenta0315b7bc2432ea517bb90ce39df0cc8b1cd2f65 (diff)
downloadluarocks-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.rockspec12
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 @@
1package = "no_build_table"
2version = "0.1-1"
3source = {
4 -- any valid URL
5 url = "https://raw.github.com/keplerproject/luarocks/master/src/luarocks/build.lua"
6}
7description = {
8 summary = "A rockspec with no build field",
9}
10dependencies = {
11 "lua >= 5.1"
12}