#!/bin/bash
-set -e
+set -eo pipefail
cpm "$@" |& grep -v\
-e "^Warning: Multiple file instances: 'Makefile'"\
-e "^Analyzing"\
-e "^]: is older than .abc file"\
-e "^First found at:"\
-e "^Also found at:"
-if [[ "${PIPESTATUS[0]}" -ne 0 ]]
-then
- exit "${PIPESTATUS[0]}"
-fi
if git rev-parse --show-toplevel 2>/dev/null
then
|& grep -v\
-e "^Doc warning: expected @type for '"\
-e "^Doc error: missing leading asterisk in '"\
- -e "^Could not get full path for '"
+ -e "^Could not get full path for '" || true
fi