#!/bin/bash set -e clear cd "$(dirname "$0")" folder="build" if [ ! -e "$folder" ]; then cmake -B "$folder" -S . -G Ninja fi ninja -C "$folder" ./$folder/tetris