client/example: Build before deploying in test
This commit is contained in:
parent
a7b092a611
commit
292423b691
|
@ -29,10 +29,12 @@ main() {
|
|||
# Deploy programs.
|
||||
#
|
||||
pushd ../../examples/composite/
|
||||
anchor build
|
||||
anchor deploy
|
||||
local composite_pid=$(cat target/idl/composite.json | jq -r .metadata.address)
|
||||
popd
|
||||
pushd ../../examples/tutorial/basic-2/
|
||||
anchor build
|
||||
anchor deploy
|
||||
local basic_2_pid=$(cat target/idl/basic_2.json | jq -r .metadata.address)
|
||||
popd
|
||||
|
|
Loading…
Reference in New Issue