Adds some more granularity to `make build` rule in `ethereum`.

This allows using the checkout action in the CI workflow.
This commit is contained in:
Sebastián Claudio Nale 2023-01-13 13:08:25 -03:00 committed by Joe Howarth
parent ef844a465f
commit 740a77d26c
1 changed files with 9 additions and 3 deletions

View File

@ -25,9 +25,15 @@ lib/forge-std:
.PHONY: wormhole_dependencies
wormhole_dependencies: wormhole/ethereum/build
wormhole/ethereum/build:
git clone --depth 1 --branch feat/batch_vaa_alternative --single-branch https://github.com/certusone/wormhole.git
cd wormhole/ethereum && npm ci && npm run build && make .env
wormhole:
git clone --depth 1 --branch feat/batch_vaa_alternative --single-branch https://github.com/wormhole-foundation/wormhole.git
.PHONY: wormhole/ethereum/build
wormhole/ethereum/build: wormhole wormhole/ethereum/node_modules
cd wormhole/ethereum && npm run build && make .env
wormhole/ethereum/node_modules:
cd wormhole/ethereum && npm ci
dependencies: node_modules forge_dependencies wormhole_dependencies