Skip to content

Commit

Permalink
add do_all.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
arysin committed Mar 25, 2024
1 parent d1b68d1 commit 5c38f7a
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions do_all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/sh

OPTS="--parallel"

[ -f "new_words.lst" ] && {
echo "new_words.lst not merged!"
exit 1
}

./gradlew $OPTS sortDict expand diff || exit 1

./gradlew checkDups checkReplacements

if [ "$1" == "-d" ]; then
exec ./gradlew $OTPS deployLtDict
fi

if [ "$1" == "-z" ]; then
./gradlew $OPTS deployLtDict || exit 1
sleep 1
cd ../grammar/languagetool-test
./zdep.sh
fi

if [ "$1" == "-f" ]; then
./gradlew $OPTS deployLtDict || exit 1
sleep 1
cd ../grammar/languagetool-test && \
./zdep.sh && \
./test_all_bg.sh
fi

0 comments on commit 5c38f7a

Please sign in to comment.