Files
RedBear-OS/local/recipes/shells/brush/source/scripts/enum-lib-crates.sh
T
vasilito 25fb843c40 brush: vendor the source tree (un-ignore) to complete the local fork
The prior commit switched the recipe to `[source] path = "source"`, but
.gitignore:77 still listed `local/recipes/shells/brush/source` (a leftover from
when brush was a transient upstream git fetch), so the vendored tree was not
tracked — a fresh clone would have no brush source and the build would fail.
Drop that ignore line and commit the vendored working tree (reubeno/brush @
897b373e, with the Redox port patches pre-applied). brush is now a durable
local fork like the other path=source recipes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-26 23:34:31 +09:00

11 lines
249 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
cargo metadata --no-deps --format-version 1 | jq -r '
.workspace_members as $members
| .packages[]
| select(.id as $id | $members | index($id))
| select(any(.targets[]?; any(.kind[]?; . == "lib")))
| .name
'