html index

This commit is contained in:
sulincix committed 2022-10-08 13:05:37 +00:00
1 parent f97e0d9cca
commit 7297ae7842
1 file changed
+3 -1
+3 -1
View File
@@ -4,7 +4,9 @@ find -type f | grep ympbuild | while read line ; do
done
[[ -d output ]] && rm -rf output
mkdir -p output
find -type f | grep "source.ymp$" | while read line ; do
find -type f | grep "source.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 >> output/index.html