Skip to content

Commit

Permalink
fix for windows tendermint bundle in
Browse files Browse the repository at this point in the history
  • Loading branch information
solarw committed Sep 4, 2024
1 parent d83f04c commit 4a0d4d7
Show file tree
Hide file tree
Showing 2 changed files with 171 additions and 160 deletions.
13 changes: 11 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,26 @@ endef
poetry install && poetry run pyinstaller --collect-data eth_account --collect-all aea --collect-all coincurve --collect-all autonomy --collect-all operate --collect-all aea_ledger_ethereum --collect-all aea_ledger_cosmos --collect-all aea_ledger_ethereum_flashbots --hidden-import aea_ledger_ethereum --hidden-import aea_ledger_cosmos --hidden-import aea_ledger_ethereum_flashbots operate/pearl.py --add-binary dist/aea_win.exe:. --add-binary dist/tendermint_win.exe:. --onefile --name pearl_win


./electron/bins/:
mkdir -p ./electron/bins/

./electron/bins/tendermint.exe: ./electron/bins/
curl -L https://github.com/tendermint/tendermint/releases/download/v0.34.19/tendermint_0.34.19_windows_amd64.tar.gz -o tendermint.tar.gz
tar -xvf tendermint.tar.gz tendermint.exe
cp ./tendermint.exe ./electron/bins/tendermint.exe

.PHONY: build
build: ./dist/pearl_win.exe
build: ./dist/pearl_win.exe ./electron/bins/tendermint.exe
$(call setup_env, prod)
echo ${DEV_RPC}
mkdir -p ./electron/bins
cp -f dist/pearl_win.exe ./electron/bins/pearl_win.exe
echo ${NODE_ENV}
NODE_ENV=${NODE_ENV} DEV_RPC=${DEV_RPC} FORK_URL=${FORK_URL} yarn build:frontend
NODE_ENV=${NODE_ENV} DEV_RPC=${DEV_RPC} FORK_URL=${FORK_URL} GH_TOKEN=${GH_TOKEN} node build-win.js




.PHONY: build-tenderly
build-tenderly: ./dist/pearl_win.exe
$(call setup_env, dev-tenderly)
Expand Down
Loading

0 comments on commit 4a0d4d7

Please sign in to comment.