From 03c64eaa4497386becff1440b029b0b987357f61 Mon Sep 17 00:00:00 2001 From: fuwa Date: Sun, 7 Jul 2019 01:19:19 +0800 Subject: [PATCH] add a wownero-android build script --- etc/scripts/build-wownero.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 etc/scripts/build-wownero.sh diff --git a/etc/scripts/build-wownero.sh b/etc/scripts/build-wownero.sh new file mode 100755 index 0000000..7b68c8e --- /dev/null +++ b/etc/scripts/build-wownero.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +set -e + +version="aba46a" +container="wownero-android-${version}" + +echo "Building: ${container}" +echo + +cd ../vendor/wownero +git fetch --all + +git checkout $version +git submodule init && git submodule update + +docker build -f utils/build_scripts/android64.Dockerfile -t $container . +docker create -it --name $container $container bash +docker cp ${container}:/src/build/release/bin . +