This is a simple game I'm writing to test the idea of using games to teach C++.
https://learncodethehardway.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
227 B
13 lines
227 B
7 months ago
|
#!/usr/bin/env bash
|
||
|
set -e
|
||
|
|
||
|
fswatch -o *.cpp | while read num
|
||
|
do echo ">>>>>>>>>>>>>>>>>>>>>> `date`"
|
||
|
if meson compile -C builddir
|
||
|
then
|
||
|
./builddir/sfmldemo
|
||
|
else
|
||
|
echo "^^^^^^^^^^^^^^^^^^^^^ ERROR `date`"
|
||
|
fi
|
||
|
done
|