diff options
| author | Dominik Picheta <dominikpicheta@googlemail.com> | 2015-05-18 21:53:55 +0100 |
|---|---|---|
| committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2015-05-18 21:53:55 +0100 |
| commit | f14f008be36ef39fcccf714d0c6426cb1405d1c4 (patch) | |
| tree | 94111692a9b14d8b01aea4162c3a0f3f43218bbb | |
| parent | f4bcaab089ca71679aaeff3b75292a9eaf14a7e0 (diff) | |
| download | packages-f14f008be36ef39fcccf714d0c6426cb1405d1c4.tar.gz packages-f14f008be36ef39fcccf714d0c6426cb1405d1c4.zip | |
Add travis CI image to readme. Check URL not WEB in scanner.
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | package_scanner.nim | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -# Nim packages +# Nim packages [](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 |
