base -> main
This commit is contained in:
1 parent
68acb252d0
commit
f5ed7ba741
22 files changed
+11
-10
No files matched your search
+5
-5
@@ -1,18 +1,18 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
find -type f | grep ympbuild | while read line ; do
|
find -type f | grep ympbuild | sort -V | while read line ; do
|
||||||
echo -e "\033[33;1m=>> BINARY BUILD START:\033[;0m $line"
|
echo -e "\033[33;1m=>> BINARY BUILD START:\033[;0m $line"
|
||||||
if ! ls $(dirname $line)/*$(uname -m).ymp ; then
|
name=$(basename $(dirname $line))
|
||||||
|
if ! ls ./output/${name}_*$(uname -m).ymp ; then
|
||||||
ymp build $(dirname $line) --verbose --no-source --ignore-dependency --allow-oem
|
ymp build $(dirname $line) --verbose --no-source --ignore-dependency --allow-oem
|
||||||
fi
|
fi
|
||||||
echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line"
|
echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line"
|
||||||
done
|
done
|
||||||
[[ -d output ]] && rm -rf output
|
|
||||||
mkdir -p output
|
mkdir -p output
|
||||||
echo "<h1><b>YMP index:</b></h1><br>" > output/index.html
|
echo "<h1><b>YMP index:</b></h1><br>" > output/index.html
|
||||||
find -type f | grep "$(uname -m).ymp$" | sort -V | while read line ; do
|
find -type f | grep -v "output"| grep "$(uname -m).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 --verbose
|
||||||
echo "* <a href=\"ymp-index.yaml\">ymp-index.yaml</a><br>" >> output/index.html
|
echo "* <a href=\"ymp-index.yaml\">ymp-index.yaml</a><br>" >> output/index.html
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,15 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
find -type f | grep ympbuild | while read line ; do
|
set -e
|
||||||
|
find -type f | grep ympbuild | sort -V | while read line ; do
|
||||||
echo -e "\033[33;1m=>> SOURCE BUILD START:\033[;0m $line"
|
echo -e "\033[33;1m=>> SOURCE BUILD START:\033[;0m $line"
|
||||||
if ! ls $(dirname $line)/*.source.ymp ; then
|
name=$(basename $(dirname $line))
|
||||||
|
if ! ls ./output/${name}_*source.ymp 2>/dev/null ; then
|
||||||
ymp build $(dirname $line) --verbose --no-binary --ignore-dependency --allow-oem
|
ymp build $(dirname $line) --verbose --no-binary --ignore-dependency --allow-oem
|
||||||
echo -e "\033[33;1m<<= SOURCE BUILD DONE:\033[;0m $line"
|
echo -e "\033[33;1m<<= SOURCE BUILD DONE:\033[;0m $line"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
[[ -d output ]] && rm -rf output
|
|
||||||
mkdir -p output
|
mkdir -p output
|
||||||
echo "<h1><b>YMP index:</b></h1><br>" > output/index.html
|
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 -v "output"| 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
|
||||||
|
|||||||
Reference in new issue
Block a user