#!/bin/sh ## test PROJECT_NAME="jwt-cpp" MODE1=$1 TEST="meson test $MODE1 -C build" RUN="./build/bin/$PROJECT_NAME" command meson compile -C build if [[ $MODE1 == "test" ]]; then command $TEST else command $RUN fi return 0