Files
hash-wallet/model_generator.sh
T
3c45ef8bb9 fix: fixes missing model generation that causes build failures (#2689)
* fix: fixes missing model generation that causes build failures

* Update model_generator.sh [skip ci]

Co-authored-by: cyan <cyjan@mrcyjanek.net>

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
Co-authored-by: cyan <cyjan@mrcyjanek.net>
2025-12-01 23:59:24 +01:00

25 lines
697 B
Bash
Executable File

#!/bin/bash
set -x -e
for cwcoin in cw_{core,evm,monero,bitcoin,nano,bitcoin_cash,solana,tron,wownero,zano,decred,dogecoin,base,arbitrum}
do
if [[ "x$1" == "xasync" ]];
then
bash -c "cd $cwcoin; flutter pub get; dart run build_runner build --delete-conflicting-outputs; cd .." &
else
cd $cwcoin; flutter pub get; dart run build_runner build --delete-conflicting-outputs; cd ..
fi
done
for cwcoin in cw_{polygon,ethereum,mweb};
do
if [[ "x$1" == "xasync" ]];
then
bash -c "cd $cwcoin; flutter pub get; cd .." &
else
cd $cwcoin; flutter pub get; cd ..
fi
done
flutter pub get
dart run build_runner build --delete-conflicting-outputs