From e243e40183e416ce0fb416c9c2435903e4c319eb Mon Sep 17 00:00:00 2001 From: aliriza Date: Thu, 3 Nov 2022 07:24:08 +0000 Subject: [PATCH] buildall --- buildall.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 buildall.sh diff --git a/buildall.sh b/buildall.sh new file mode 100644 index 00000000..df92cfc2 --- /dev/null +++ b/buildall.sh @@ -0,0 +1,15 @@ +#!/bin/bash +find -type f | grep ympbuild | while read line ; do + echo -e "\033[33;1m=>> BINARY BUILD START:\033[;0m $line" + ymp build $(dirname $line) --verbose --no-source --ignore-dependency --allow-oem + echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line" +done +[[ -d output ]] && rm -rf output +mkdir -p output +echo "

YMP index:


" > output/index.html +find -type f | grep ".ymp$" | sort -V | while read line ; do + mv $line output + echo "* $(basename $line)
" >> output/index.html +done +ymp index output --allow-oem +echo "* ymp-index.yaml
" >> output/index.html