Add some missing packages
[dotfiles.git] / shell / .local / bin / cpm.sh
1 #!/bin/bash
2 set -eo pipefail
3 cpm "$@" |& grep -v\
4 -e "^Warning: Multiple file instances: 'Makefile'"\
5 -e "^Analyzing"\
6 -e "^iTasks Resource Collector: "\
7 -e "^Warning: Unable to setup directory cache: "\
8 -e "^]: is older than .abc file"\
9 -e "^First found at:"\
10 -e "^Also found at:"
11
12 if git rev-parse --show-toplevel 2>/dev/null
13 then
14 cloogletags -a -c\
15 -d "$(git rev-parse --show-toplevel)"\
16 -d "$CLEAN_HOME/lib/"\
17 -o "$CLEAN_HOME/lib/tags"\
18 |& grep -v\
19 -e "^Doc warning: expected @type for '"\
20 -e "^Doc error: missing leading asterisk in '"\
21 -e "^Could not get full path for '" || true
22 fi