mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-04 19:56:36 +08:00
Some script improvements
This commit is contained in:
parent
90a2d46450
commit
7c356e53ee
0
scripts/find-recipe.sh → scripts/installed-pkg-files.sh
Executable file → Normal file
0
scripts/find-recipe.sh → scripts/installed-pkg-files.sh
Executable file → Normal file
@ -1,8 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# This script show all or some package size of the recipes ("stage.pkgar")
|
||||
# It must be used by package maintainers to enforce the library linking size policy
|
||||
|
||||
# This script show the size of some recipe package size ("stage.pkgar")
|
||||
# This script must be inside podman `make env`
|
||||
|
||||
RECIPES=$(target/release/repo cook-list ${*:---all-compiled} --display=csv | grep ",Built" | sort -t ',' -k 3 -V | cut -d ',' -f2)
|
||||
|
||||
0
scripts/category.sh → scripts/recipe-category.sh
Executable file → Normal file
0
scripts/category.sh → scripts/recipe-category.sh
Executable file → Normal file
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# This script print the recipe configuration files with determined text
|
||||
# This script print all recipe configuration files with a determined text
|
||||
|
||||
bat --decorations=always $(rg "$1" -li --sort=path recipes)
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# This script show the contents of the "stage" and "sysroot" folders in some recipe
|
||||
# This script show the contents of the "stage" and "sysroot" directories in some recipe
|
||||
|
||||
if [ -z "$*" ]
|
||||
then
|
||||
echo "Show the contents of the stage and sysroot folders in recipe(s)"
|
||||
echo "Show the contents of the "stage" and 'sysroot' directories in recipe(s)"
|
||||
echo "Usage: $0 recipe1 ..."
|
||||
echo "Must be run from the 'redox' directory"
|
||||
echo "e.g. $0 kernel"
|
||||
@ -22,5 +22,5 @@ fi
|
||||
for recipe in $*
|
||||
do
|
||||
recipe_dir="$("$find_recipe" find "$recipe")"
|
||||
ls -1 "$recipe_dir/target"/*/{stage,sysroot}
|
||||
tree "$recipe_dir/target"/*/{stage,sysroot}
|
||||
done
|
||||
|
||||
Loading…
Reference in New Issue
Block a user