Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (10 sloc) 480 Bytes
#!/bin/sh
set -e
version=$(curl https://bintray.com/api/v1/packages/ids1024/whitakers-words-android/master | \
python -c 'import json, sys; print(json.load(sys.stdin)["latest_version"])')
rm -f words.tar.xz
curl -L https://dl.bintray.com/ids1024/whitakers-words-android/words-$version.tar.xz -o words.tar.xz
rm -rf src/main/assets/words
mkdir -p src/main/assets
tar xf words.tar.xz -C src/main/assets
echo "Words extracted to src/main/assets/words from $version on bintray."
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.