Empty tags now count as errors + removed empty tags from the packages list (#2390)

* Check for empty tags

* - Added the `-d:dontFetchRepos` flag
- Made empty tags an error
- Created `config.nims`
- Removed empty tags from `packages.json`

* Revert "- Added the `-d:dontFetchRepos` flag"

This reverts commit 2b653ebcf0b242887e08b95492f2cc1b2bed3a19.

* - Made empty tags an error
- Removed empty tags from `packages.json`
This commit is contained in:
Patitotective 2022-10-18 22:59:30 -05:00 committed by GitHub
parent b9785a15c5
commit 3c50f5552e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 11 deletions

View File

@ -174,7 +174,8 @@ proc check(): int =
inc emptyTags inc emptyTags
if emptyTags > 0: if emptyTags > 0:
echo "W: ", name, " has ", emptyTags, " empty tags" echo "E: ", name, " has ", emptyTags, " empty tags"
inc result
if name.normalize notin names: if name.normalize notin names:
names.incl name.normalize names.incl name.normalize

View File

@ -21824,8 +21824,7 @@
"tags": [ "tags": [
"library", "library",
"wrapper", "wrapper",
"parser", "parser"
""
], ],
"description": "Nim wrappers for tree-sitter parser grammars", "description": "Nim wrappers for tree-sitter parser grammars",
"license": "Apache-2.0", "license": "Apache-2.0",
@ -22149,8 +22148,7 @@
"library", "library",
"language", "language",
"syllable", "syllable",
"syllables", "syllables"
""
], ],
"description": "Syllable estimation for Nim.", "description": "Syllable estimation for Nim.",
"license": "MIT", "license": "MIT",
@ -24338,8 +24336,7 @@
"tags": [ "tags": [
"draw", "draw",
"drawing", "drawing",
"gamedev", "gamedev"
""
], ],
"description": "Simple library to draw stuff on a window", "description": "Simple library to draw stuff on a window",
"license": "MIT", "license": "MIT",
@ -24637,8 +24634,7 @@
"url": "https://github.com/SciNim/scinim", "url": "https://github.com/SciNim/scinim",
"method": "git", "method": "git",
"tags": [ "tags": [
"scinim", "scinim"
""
], ],
"description": "The core types and functions of the SciNim ecosystem", "description": "The core types and functions of the SciNim ecosystem",
"license": "MIT", "license": "MIT",
@ -26312,8 +26308,7 @@
"tmpfs", "tmpfs",
"ramdisk", "ramdisk",
"tempfile", "tempfile",
"linux", "linux"
""
], ],
"description": "Create and remove ramdisks easily", "description": "Create and remove ramdisks easily",
"license": "MPL-2.0", "license": "MPL-2.0",