1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 21:47:45 +00:00

Ports: Detect more types of errors in the AvailablePorts.md file

This adds support for detecting incorrect version numbers and links
in the ports list.

Also, unlike before it doesn't parse the package.sh script but executes
it instead which allows us to detect syntax errors.
This commit is contained in:
Gunnar Beutner 2021-04-23 13:53:53 +02:00 committed by Linus Groh
parent fb67e99562
commit b3db01e20e
3 changed files with 126 additions and 29 deletions

View file

@ -49,7 +49,7 @@ for file in *; do
popd > /dev/null
continue
fi
built_ports="$built_ports $port $(./package.sh showdepends) "
built_ports="$built_ports $port $(./package.sh showproperty depends) "
if [ "$clean" == true ]; then
if [ "$verbose" == true ]; then