diff --git a/scripts/coverage_reset.sh b/scripts/coverage_reset.sh new file mode 100755 index 0000000..9970738 --- /dev/null +++ b/scripts/coverage_reset.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +set -e + +mv -f ./subprojects/packagecache . +rm -rf subprojects builddir +mkdir subprojects +mv packagecache ./subprojects/ +mkdir builddir +cp wraps/*.wrap subprojects/ +# on OSX you can't do this with static +meson setup -Db_coverage=true builddir diff --git a/scripts/reset_build.sh b/scripts/reset_build.sh index 9970738..9d56a7f 100755 --- a/scripts/reset_build.sh +++ b/scripts/reset_build.sh @@ -8,4 +8,4 @@ mv packagecache ./subprojects/ mkdir builddir cp wraps/*.wrap subprojects/ # on OSX you can't do this with static -meson setup -Db_coverage=true builddir +meson setup builddir diff --git a/tools/designer.cpp b/tools/designer.cpp index d6d5fe7..2d12f83 100644 --- a/tools/designer.cpp +++ b/tools/designer.cpp @@ -16,6 +16,7 @@ #include #include #include +#include using namespace nlohmann; using namespace fmt;