xdapp-book/projects/wormhole-local-validator/setup.bash

12 lines
239 B
Bash

#!/usr/bin/env bash
# Check if wormhole/ repo exists.
# If it doesn't then clone
if [ ! -d "./wormhole" ]
then
git clone https://github.com/wormhole-foundation/wormhole
cd wormhole/clients/js
make install
cd ../../../
fi