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/testing.sh | |
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/testing.sh')
-rwxr-xr-x | test/testing.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 | |||
419 | fail_lint_type_mismatch_string() { $luarocks lint "$testing_dir/testfiles/type_mismatch_string-1.0-1.rockspec"; } | 419 | fail_lint_type_mismatch_string() { $luarocks lint "$testing_dir/testfiles/type_mismatch_string-1.0-1.rockspec"; } |
420 | fail_lint_type_mismatch_version() { $luarocks lint "$testing_dir/testfiles/type_mismatch_version-1.0-1.rockspec"; } | 420 | fail_lint_type_mismatch_version() { $luarocks lint "$testing_dir/testfiles/type_mismatch_version-1.0-1.rockspec"; } |
421 | fail_lint_type_mismatch_table() { $luarocks lint "$testing_dir/testfiles/type_mismatch_table-1.0-1.rockspec"; } | 421 | fail_lint_type_mismatch_table() { $luarocks lint "$testing_dir/testfiles/type_mismatch_table-1.0-1.rockspec"; } |
422 | fail_lint_no_build_table() { $luarocks lint "$testing_dir/testfiles/no_build_table-0.1-1.rockspec"; } | ||
422 | 423 | ||
423 | test_list() { $luarocks list; } | 424 | test_list() { $luarocks list; } |
424 | test_list_porcelain() { $luarocks list --porcelain; } | 425 | test_list_porcelain() { $luarocks list --porcelain; } |