buildall
This commit is contained in:
1 parent
785ad685df
commit
e243e40183
1 file changed
+15
+15
@@ -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 "<h1><b>YMP index:</b></h1><br>" > output/index.html
|
||||
find -type f | grep ".ymp$" | sort -V | while read line ; do
|
||||
mv $line output
|
||||
echo "* <a href=\"$(basename $line)\">$(basename $line)</a><br>" >> output/index.html
|
||||
done
|
||||
ymp index output --allow-oem
|
||||
echo "* <a href=\"ymp-index.yaml\">ymp-index.yaml</a><br>" >> output/index.html
|
||||
Reference in new issue
Block a user