aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2015-05-18 21:53:55 +0100
committerDominik Picheta <dominikpicheta@googlemail.com>2015-05-18 21:53:55 +0100
commitf14f008be36ef39fcccf714d0c6426cb1405d1c4 (patch)
tree94111692a9b14d8b01aea4162c3a0f3f43218bbb
parentf4bcaab089ca71679aaeff3b75292a9eaf14a7e0 (diff)
downloadpackages-f14f008be36ef39fcccf714d0c6426cb1405d1c4.tar.gz
packages-f14f008be36ef39fcccf714d0c6426cb1405d1c4.zip
Add travis CI image to readme. Check URL not WEB in scanner.
-rw-r--r--README.md4
-rw-r--r--package_scanner.nim2
2 files changed, 3 insertions, 3 deletions
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