2022-10-26 07:28:46 -07:00
|
|
|
.PHONY: clean all help .FORCE
|
|
|
|
|
|
|
|
-include ../Makefile.help
|
|
|
|
|
|
|
|
.FORCE:
|
|
|
|
|
|
|
|
node_modules:
|
|
|
|
yarn
|
|
|
|
|
2023-05-15 12:55:03 -07:00
|
|
|
artifacts:
|
|
|
|
cd ../../solana && \
|
|
|
|
DOCKER_BUILDKIT=1 docker build \
|
|
|
|
-f Dockerfile \
|
|
|
|
--build-arg BRIDGE_ADDRESS=agnnozV7x6ffAhi8xVhBd5dShfLnuUKKPEMX1tJ1nDC \
|
|
|
|
-o ../testing/solana-test-validator/artifacts .
|
|
|
|
|
|
|
|
artifacts-main:
|
|
|
|
git clone \
|
|
|
|
--depth 1 \
|
|
|
|
--branch main \
|
|
|
|
--filter=blob:none \
|
|
|
|
https://github.com/wormhole-foundation/wormhole \
|
|
|
|
wormhole-main
|
|
|
|
cd wormhole-main/solana && \
|
|
|
|
DOCKER_BUILDKIT=1 docker build \
|
|
|
|
-f Dockerfile \
|
|
|
|
--build-arg BRIDGE_ADDRESS=agnnozV7x6ffAhi8xVhBd5dShfLnuUKKPEMX1tJ1nDC \
|
|
|
|
-o ../../artifacts-main .
|
|
|
|
rm -rf wormhole-main
|
2022-10-26 07:28:46 -07:00
|
|
|
|
|
|
|
.PHONY: test
|
2023-05-15 12:55:03 -07:00
|
|
|
test: node_modules artifacts-main artifacts
|
2022-10-26 07:28:46 -07:00
|
|
|
@echo "Running integration tests"
|
|
|
|
yarn run sdk-tests
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2023-05-15 12:55:03 -07:00
|
|
|
rm -rf artifacts artifacts-main wormhole-main node_modules validator.log .test
|
2022-10-26 07:28:46 -07:00
|
|
|
|