浏览代码

client/example: Build before deploying in test

armaniferrante 4 年之前
父节点
当前提交
292423b691
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      client/example/run-test.sh

+ 2 - 0
client/example/run-test.sh

@@ -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