فهرست منبع

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