You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Neper/tests/emerge-all-ebuilds.sh

17 lines
424 B

#!/usr/bin/env bash
# Get all non-live ebuilds that are in the git tree and emerge all of them in a clean stage3
set -e
if [ "${DEBUG}" = True ]; then
set -x
fi
SCRIPT_PATH=$(dirname "$0")
EBUILDS=($(git ls-files | grep -e "\.ebuild$" | egrep -v '.+9999(-r[0-9]+)?.ebuild'))
echo "Emerging the following ebuilds: ${EBUILDS[@]}"
# Emerge the ebuilds in a clean stage3
"${SCRIPT_PATH}/emerge-ebuild.sh" "${EBUILDS[@]}"