0.1 update, make the stop container code more robust and fix some bugs, update the about screen for version 0.1

This commit is contained in:
mrkmntal 2026-08-14 14:28:03 -04:00
commit e8e93d7b21
17 changed files with 449 additions and 43 deletions

View file

@ -1,3 +1,27 @@
#!/bin/sh
cmake -S . -B build && cmake --build build -j && echo "tux-dock successfully compiled!"
set -eu
if [ "$#" -gt 1 ] || { [ "$#" -eq 1 ] && [ "$1" != "--no-test" ]; }; then
printf '%s\n' "Usage: $0 [--no-test]" >&2
exit 2
fi
run_tests=1
if [ "$#" -eq 1 ]; then
run_tests=0
fi
if [ "$run_tests" -eq 1 ]; then
cmake -S . -B build -DBUILD_TESTING=ON
else
cmake -S . -B build -DBUILD_TESTING=OFF
fi
cmake --build build -j
if [ "$run_tests" -eq 1 ]; then
ctest --test-dir build --output-on-failure
fi
printf '%s\n' "tux-dock successfully compiled!"