aboutsummaryrefslogtreecommitdiff
path: root/test/testing.lua
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/testing.lua
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/testing.lua')
-rw-r--r--test/testing.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testing.lua b/test/testing.lua
index 86f3ab34..44c6f098 100644
--- a/test/testing.lua
+++ b/test/testing.lua
@@ -203,6 +203,7 @@ local tests = {
203 fail_lint_type_mismatch_string = function() return run '$luarocks lint "$testing_dir/testfiles/type_mismatch_string-1.0-1.rockspec"' end, 203 fail_lint_type_mismatch_string = function() return run '$luarocks lint "$testing_dir/testfiles/type_mismatch_string-1.0-1.rockspec"' end,
204 fail_lint_type_mismatch_version = function() return run '$luarocks lint "$testing_dir/testfiles/type_mismatch_version-1.0-1.rockspec"' end, 204 fail_lint_type_mismatch_version = function() return run '$luarocks lint "$testing_dir/testfiles/type_mismatch_version-1.0-1.rockspec"' end,
205 fail_lint_type_mismatch_table = function() return run '$luarocks lint "$testing_dir/testfiles/type_mismatch_table-1.0-1.rockspec"' end, 205 fail_lint_type_mismatch_table = function() return run '$luarocks lint "$testing_dir/testfiles/type_mismatch_table-1.0-1.rockspec"' end,
206 fail_lint_no_build_table = function() return run '$luarocks lint "$testing_dir/testfiles/no_build_table-0.1-1.rockspec"' end,
206 test_list = function() return run "$luarocks list" end, 207 test_list = function() return run "$luarocks list" end,
207 test_list_porcelain = function() return run "$luarocks list --porcelain" end, 208 test_list_porcelain = function() return run "$luarocks list --porcelain" end,
208 test_make_with_rockspec = function() 209 test_make_with_rockspec = function()