Skip to content
Permalink
Browse files

Do not include prebuilt words

  • Loading branch information...
ids1024 committed Sep 3, 2018
1 parent 7fa2b9a commit 706fac0e7ef905508f585b2d472b48d3c3bfbbb7
@@ -8,7 +8,7 @@ build/
.idea/
release.keystore
words/words-build
words/words
words/wordsall.zip
words/words.tar.xz
words.tar.xz
.travis/bintray.json
src/main/assets/words
@@ -10,13 +10,13 @@ android:
- android-27

script:
- ./build-words-docker.sh
- ./gradlew assembleDebug
- ./gradlew dokka
- ./gradlew ktlint
- ./build-words-docker.sh

before_deploy:
- cd words && tar cJf words.tar.xz words && cd ..
- cd src/main/assets && tar cJf ../../../words.tar.xz words && cd ../../..
- |
sed s/%VERSION%/$(printf "r%s.%s" \
"$(git rev-list --count HEAD)" \
@@ -9,7 +9,7 @@
},
"files": [
{
"includePattern": "words/(words\\.tar\\.xz)",
"includePattern": "(words\\.tar\\.xz)",
"uploadPattern": "$1"
},
{
@@ -19,7 +19,7 @@ Building the Ada code is problematic, since Android's NDK only supports C and C+

To provide such I toolchain, I've built a [docker image](https://hub.docker.com/r/ids1024/ada-android/), which you can download and use, or [build yourself](https://github.com/ids1024/ada-android-docker) (given enough CPU time and disk space).

A compiled version of words 1.97FC is included in assets/words. Or you can run `./build-words-docker.sh` to download the docker image and build words.
You can run `./build-words-docker.sh` to download the docker image and build words.

### Compiling the app

@@ -1,5 +1,7 @@
#!/bin/sh

set -e

IMAGE=ids1024/ada-android:6.4.0

sudo docker pull $IMAGE
@@ -11,4 +13,6 @@ sudo docker run \
--security-opt seccomp=unconfined \
$IMAGE \
./build-words.sh
echo "Words built in words/words."
rm -rf src/main/assets/words
mv words/words src/main/assets/words
echo "Words built in src/main/assets/words."
Oops, something went wrong.

0 comments on commit 706fac0

Please sign in to comment.
You can’t perform that action at this time.