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.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'test/testing.sh') diff --git a/test/testing.sh b/test/testing.sh index 8d972d4c..4338e48f 100755 --- a/test/testing.sh +++ b/test/testing.sh @@ -419,6 +419,7 @@ test_lint_ok() { $luarocks download --rockspec validate-args ${verrev_validate_a fail_lint_type_mismatch_string() { $luarocks lint "$testing_dir/testfiles/type_mismatch_string-1.0-1.rockspec"; } fail_lint_type_mismatch_version() { $luarocks lint "$testing_dir/testfiles/type_mismatch_version-1.0-1.rockspec"; } fail_lint_type_mismatch_table() { $luarocks lint "$testing_dir/testfiles/type_mismatch_table-1.0-1.rockspec"; } +fail_lint_no_build_table() { $luarocks lint "$testing_dir/testfiles/no_build_table-0.1-1.rockspec"; } test_list() { $luarocks list; } test_list_porcelain() { $luarocks list --porcelain; } -- cgit v1.2.3-55-g6feb