mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-09 12:29:31 +00:00
e2278ae403
+ migrate to monero_c
29 lines
555 B
Bash
Executable file
29 lines
555 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 e0891d041216099699043da6ac9d08320274b3c6
|
|
git reset --hard
|
|
git submodule update --init --force --recursive
|
|
./apply_patches.sh monero
|
|
./apply_patches.sh wownero
|
|
else
|
|
cd monero_c
|
|
fi
|
|
|
|
for coin in monero wownero zano;
|
|
do
|
|
if [[ ! -f "$coin/.patch-applied" ]];
|
|
then
|
|
./apply_patches.sh $coin
|
|
fi
|
|
done
|
|
cd ..
|
|
|
|
echo "monero_c source prepared".
|