docs(packages): an index of the packages; the pack skips what is not a package directory
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a5f52c4581
commit
e146c7a337
2 changed files with 53 additions and 0 deletions
|
|
@ -395,6 +395,7 @@ function pack_add_packages(l: PackList) -> void {
|
|||
i = i + slen(line) + 1
|
||||
let mod = s_trim(line)
|
||||
if slen(mod) == 0 { continue }
|
||||
if not shq(`test -d {base}/{mod}`) { continue } # packages/README.md is an index, not a package
|
||||
pack_gather_pkg(l, base, mod)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue