mirror of
https://github.com/logos-messaging/packages.git
synced 2026-01-03 22:53:10 +00:00
Add travis CI image to readme. Check URL not WEB in scanner.
This commit is contained in:
parent
f4bcaab089
commit
f14f008be3
@ -1,4 +1,4 @@
|
|||||||
# Nim packages
|
# Nim packages [](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.
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user