#!/bin/sh types="Debug Release Coverage" mkdir build cd build for type in $types do rm -rf $type cmake .. -B $type -DCMAKE_BUILD_TYPE=$type done cd .. fossil ls | entr -c tools/tests $types