xwords/xwords4/linux/scripts/run-curses.sh
Eric House 598be04bef make curses app more like the rest
Lots of changes adding a games-list view to the app from which you
create new games, open and delete existing ones, etc. There's still
plenty that's unimplemented, but it's already more useful for testing
and development. Which is the point.
2020-01-24 09:05:16 -08:00

28 lines
490 B
Bash
Executable file

#!/bin/sh
# This script just runs the curses app with a set of params known to
# work. At least when it was last committed. :-)
usage() {
echo "usage: $0 [--help] [param-for-xwords]*"
exit 1
}
PARAMS=''
while [ $# -gt 0 ]; do
case $1 in
--help)
usage;
;;
*)
PARAMS="$PARAMS $1"
;;
esac
shift
done
WD=$(cd $(dirname $0)/.. && pwd)
cd $WD
./obj_linux_memdbg/xwords --curses --name Eric --name Kati \
--dict-dir ./ --game-dict ../dict.xwd \
$PARAMS \