|
@@ -14,6 +14,7 @@ fi
|
|
: "${WEBDRIVER_BINARY:=$(env PATH="${SERENITY_SOURCE_DIR}/Build/lagom/bin/Ladybird.app/Contents/MacOS:${SERENITY_SOURCE_DIR}/Build/lagom/libexec:${SERENITY_SOURCE_DIR}/Meta/Lagom/Build/libexec:${PATH}" \
|
|
: "${WEBDRIVER_BINARY:=$(env PATH="${SERENITY_SOURCE_DIR}/Build/lagom/bin/Ladybird.app/Contents/MacOS:${SERENITY_SOURCE_DIR}/Build/lagom/libexec:${SERENITY_SOURCE_DIR}/Meta/Lagom/Build/libexec:${PATH}" \
|
|
which WebDriver)}"
|
|
which WebDriver)}"
|
|
update_expectations_metadata=false
|
|
update_expectations_metadata=false
|
|
|
|
+remove_wpt_repository=false
|
|
|
|
|
|
for arg in "$@"; do
|
|
for arg in "$@"; do
|
|
case $arg in
|
|
case $arg in
|
|
@@ -25,6 +26,10 @@ for arg in "$@"; do
|
|
update_expectations_metadata=true
|
|
update_expectations_metadata=true
|
|
shift
|
|
shift
|
|
;;
|
|
;;
|
|
|
|
+ --remove-wpt-repository)
|
|
|
|
+ remove_wpt_repository=true
|
|
|
|
+ shift
|
|
|
|
+ ;;
|
|
*)
|
|
*)
|
|
echo "Unknown argument ${arg}"
|
|
echo "Unknown argument ${arg}"
|
|
exit 1
|
|
exit 1
|
|
@@ -83,4 +88,8 @@ if [[ $update_expectations_metadata == true ]]; then
|
|
python3 ./concat-extract-metadata.py --concat ./metadata > metadata.txt
|
|
python3 ./concat-extract-metadata.py --concat ./metadata > metadata.txt
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+if [[ $remove_wpt_repository == true ]]; then
|
|
|
|
+ rm -rf wpt
|
|
|
|
+fi
|
|
|
|
+
|
|
popd
|
|
popd
|