refresh struct

This commit is contained in:
chatlanin
2024-07-05 10:26:32 +03:00
parent e22967accb
commit 40da1bbaa9
68 changed files with 17 additions and 56 deletions

21
run.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/zsh
PROJECT_NAME=$(basename $PWD)
run() {
command meson compile -C build
if [[ -z "$1" ]]; then
cd build
./tests/$PROJECT_NAME
cd ..
else
meson test $1 -C build
fi
}
if [ -d "build" ]; then
run
else
command meson setup build
run
fi