1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2026-03-02 04:09:18 +00:00

fixes buildtype coverage and minsize release

This commit is contained in:
nosamad
2020-06-07 16:56:23 +02:00
parent 72228bee48
commit 7d32f5b575
3 changed files with 11 additions and 3 deletions

View File

@@ -4,7 +4,15 @@
rm -rf meson
BUILDTYPE="$VARIANT"
COVERAGE=false
if [ "$VARIANT" = "coverage" ]; then
BUILDTYPE="debug"
COVERAGE=true
fi
[ -z "$VERBOSE" ] || set -x
exec meson setup --buildtype "$VARIANT" "${PWD}/meson" "$PROJECTDIR" "$@"
exec meson setup --buildtype "$BUILDTYPE" "-Db_coverage=$COVERAGE" "${PWD}/meson" "$PROJECTDIR" "$@"