Add travis CI image to readme. Check URL not WEB in scanner.

This commit is contained in:
Dominik Picheta 2015-05-18 21:53:55 +01:00
parent f4bcaab089
commit f14f008be3
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# Nim packages # Nim packages [![Build Status](https://travis-ci.org/nim-lang/packages.svg?branch=master)](https://travis-ci.org/nim-lang/packages)
This is a central listing of all packages for This is a central listing of all packages for
[Nimble](https://github.com/nim-lang/nimble), a package manager for the [Nimble](https://github.com/nim-lang/nimble), a package manager for the
@ -11,7 +11,7 @@ To add your own package, fork this repository, edit
[Packages.json](packages.json) is a simple array of objects. Each package [Packages.json](packages.json) is a simple array of objects. Each package
object should have the following fields (unless the field is marked as object should have the following fields (unless the field is marked as
optional): optional):
* name - The name of the package, this should match the name in the package's * name - The name of the package, this should match the name in the package's
nimble file. nimble file.
* url - The url from which to retrieve the package. * url - The url from which to retrieve the package.

View File

@ -76,7 +76,7 @@ proc check(): int =
echo "E: ", name, " has no description" echo "E: ", name, " has no description"
result.inc() result.inc()
if not pdata.hasKey("web"): if not pdata.hasKey("url"):
echo "E: ", name, " has no URL" echo "E: ", name, " has no URL"
result.inc() result.inc()
continue continue