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:
parent
ef844a465f
commit
740a77d26c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue