redox/scripts/unused-libs.sh
2026-07-29 11:18:53 +07:00

10 lines
288 B
Bash
Executable File

#!/usr/bin/env bash
# This script show all unused packages in given category, or "wip/libs" by default.
# This script must be inside podman `make env`
CATEGORY=${1:-wip/libs}
target/release/repo cook-list --all --display=csv | grep ",$" | grep ",recipes/$CATEGORY" | cut -d ',' -f2