mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-23 07:27:22 +01:00
improving prep of byod files
This commit is contained in:
parent
a2335064da
commit
45e7e716b9
2 changed files with 7 additions and 1 deletions
7
xwords4/dawg/mkbyodbins.sh
Executable file
7
xwords4/dawg/mkbyodbins.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for INFO in $(ls */info.txt); do
|
||||||
|
DIR=$(dirname $INFO)
|
||||||
|
echo "*** processing $(basename $DIRNAME) ***"
|
||||||
|
(cd $DIR && make byodbins)
|
||||||
|
done
|
|
@ -79,7 +79,6 @@ def writeMapFile(xlocToken, outfile):
|
||||||
face = tile[2]
|
face = tile[2]
|
||||||
match = sSingleCharMatch.match(face)
|
match = sSingleCharMatch.match(face)
|
||||||
if match:
|
if match:
|
||||||
print('single char: {}'.format(match.group(1)))
|
|
||||||
printLetters( match.group(1), outfile )
|
printLetters( match.group(1), outfile )
|
||||||
continue
|
continue
|
||||||
match = sSpecialsMatch.match(face)
|
match = sSpecialsMatch.match(face)
|
||||||
|
|
Loading…
Add table
Reference in a new issue