From 8f7897c5851117d817d59a23353a61e047aee900 Mon Sep 17 00:00:00 2001 From: Ignacio BurgueƱo Date: Wed, 24 Jun 2015 14:43:08 -0300 Subject: 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" } ```` --- test/testing.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'test/testing.lua') 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 = { fail_lint_type_mismatch_string = function() return run '$luarocks lint "$testing_dir/testfiles/type_mismatch_string-1.0-1.rockspec"' end, fail_lint_type_mismatch_version = function() return run '$luarocks lint "$testing_dir/testfiles/type_mismatch_version-1.0-1.rockspec"' end, fail_lint_type_mismatch_table = function() return run '$luarocks lint "$testing_dir/testfiles/type_mismatch_table-1.0-1.rockspec"' end, + fail_lint_no_build_table = function() return run '$luarocks lint "$testing_dir/testfiles/no_build_table-0.1-1.rockspec"' end, test_list = function() return run "$luarocks list" end, test_list_porcelain = function() return run "$luarocks list --porcelain" end, test_make_with_rockspec = function() -- cgit v1.2.3-55-g6feb