Files
unison/buildsupport/iwyu_wrapper.sh
Gabriel Ferreira 9c876c7f5a CMake buildsystem
2021-12-01 12:29:55 -08:00

4 lines
138 B
Bash

#!/usr/bin/env bash
echo >>"$1"/iwyu.log include-what-you-use "${@:2}"
exec include-what-you-use "${@:2}" 2> >(tee -a "$1"/iwyu.log >&2)