diff --git a/README.md b/README.md index fcde753..db4d91e 100644 --- a/README.md +++ b/README.md @@ -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 [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 object should have the following fields (unless the field is marked as optional): - + * name - The name of the package, this should match the name in the package's nimble file. * url - The url from which to retrieve the package. diff --git a/package_scanner.nim b/package_scanner.nim index 9977f2e..e2d22ac 100644 --- a/package_scanner.nim +++ b/package_scanner.nim @@ -76,7 +76,7 @@ proc check(): int = echo "E: ", name, " has no description" result.inc() - if not pdata.hasKey("web"): + if not pdata.hasKey("url"): echo "E: ", name, " has no URL" result.inc() continue