hack/run
2022-11-07 13:01:31 +03:00

13 lines
163 B
Bash
Executable File

#!/bin/zsh
TEST="meson test -C build"
RUN="./build/bin/hack"
command meson compile -C build
if [[ $1 == "test" ]]; then
command $TEST
else
command $RUN
fi