646 |
fi |
fi |
647 |
fi |
fi |
648 |
|
|
649 |
|
if mqueryfeature "qalint" |
650 |
|
then |
651 |
|
if mqueryfeature "!pkgbuild" |
652 |
|
then |
653 |
|
echo "!pkgbuild detected; skipping QA lint checks ..." |
654 |
|
else |
655 |
|
if [[ -n ${SPLIT_PACKAGES} ]] |
656 |
|
then |
657 |
|
# save smage environment |
658 |
|
split_save_variables |
659 |
|
for subpackage in ${SPLIT_PACKAGES} |
660 |
|
do |
661 |
|
# honor split_info |
662 |
|
split_info_${subpackage} |
663 |
|
if [[ ${PKGTYPE} = virtual ]] |
664 |
|
then |
665 |
|
# automatically set !pkgbuild here too |
666 |
|
msetfeature "!pkgbuild" |
667 |
|
fi |
668 |
|
|
669 |
|
if mqueryfeature "qalint" |
670 |
|
then |
671 |
|
if mqueryfeature "!pkgbuild" |
672 |
|
then |
673 |
|
echo "!pkgbuild detected; skipping QA lint checks for '${subpackage}' ..." |
674 |
|
else |
675 |
|
echo -e "${COLBLUE}===${COLGREEN} running QA lint checks for '${subpackage}' ...${COLDEFAULT}" |
676 |
|
mqalint ${BINDIR}_${subpackage} |
677 |
|
fi |
678 |
|
fi |
679 |
|
|
680 |
|
# restore smage environment |
681 |
|
split_restore_variables |
682 |
|
done |
683 |
|
# unset saved variables |
684 |
|
split_unset_variables |
685 |
|
else |
686 |
|
echo -e "${COLBLUE}===${COLGREEN} running QA lint checks ...${COLDEFAULT}" |
687 |
|
mqalint ${BINDIR} |
688 |
|
fi |
689 |
|
fi |
690 |
|
fi |
691 |
|
|
692 |
if mqueryfeature "!pkgbuild" |
if mqueryfeature "!pkgbuild" |
693 |
then |
then |
694 |
echo -e "!pkgbuild detected; Package will not be build ..." |
echo -e "!pkgbuild detected; Package will not be build ..." |