Update update.sh
This commit is contained in:
1 parent
db8f73e7fc
commit
06a9df94b8
1 file changed
+2
-1
@@ -6,9 +6,10 @@ find -type f | grep ympbuild | while read line ; do
|
|||||||
done
|
done
|
||||||
[[ -d output ]] && rm -rf output
|
[[ -d output ]] && rm -rf output
|
||||||
mkdir -p output
|
mkdir -p output
|
||||||
|
echo "<h1><b>YMP index:</b></h1><br>" > output/index.html
|
||||||
find -type f | grep "source.ymp$" | sort -V | while read line ; do
|
find -type f | grep "source.ymp$" | sort -V | while read line ; do
|
||||||
mv $line output
|
mv $line output
|
||||||
echo "* <a href=\"$(basename $line)\">$(basename $line)</a><br>" >> output/index.html
|
echo "* <a href=\"$(basename $line)\">$(basename $line)</a><br>" >> output/index.html
|
||||||
done
|
done
|
||||||
ymp index output --allow-oem
|
ymp index output --allow-oem
|
||||||
echo "* <a href=\"ymp-index.yaml\">ymp-index.yaml</a><br>" >> output/index.html >> output/index.html
|
echo "* <a href=\"ymp-index.yaml\">ymp-index.yaml</a><br>" >> output/index.html
|
||||||
Reference in new issue
Block a user