cake_wallet/scripts/prepare_moneroc.sh
cyan 1b109ac702
Some checks are pending
Cache Dependencies / test (push) Waiting to run
make "Null check used on null value" errors when .so errors out more useful (#1549)
bump monero_c commit to fix enotes error
2024-07-22 18:42:13 +03:00

31 lines
580 B
Bash
Executable file

#!/bin/bash
set -x -e
cd "$(dirname "$0")"
if [[ ! -d "monero_c" ]];
then
git clone https://github.com/mrcyjanek/monero_c --branch rewrite-wip
cd monero_c
git checkout c094ed5da69d2274747bf6edd7ca24124487bd34
git reset --hard
git submodule update --init --force --recursive
./apply_patches.sh monero
./apply_patches.sh wownero
else
cd monero_c
fi
if [[ ! -f "monero/.patch-applied" ]];
then
./apply_patches.sh monero
fi
if [[ ! -f "wownero/.patch-applied" ]];
then
./apply_patches.sh wownero
fi
cd ..
echo "monero_c source prepared".