hack/run

13 lines
162 B
Plaintext
Raw Normal View History

2022-02-28 12:44:18 +03:00
#!/bin/sh
TEST="meson test -C build"
RUN="./build/bin/hack"
command meson compile -C build
if [[ $1 == "test" ]]; then
command $TEST
else
command $RUN
fi