Skip to content

Commit

Permalink
js-soroban-client local file path installation (#74)
Browse files Browse the repository at this point in the history
* do more yarn specifics when js-soroban-client is local file path, avoids intermittent yarn install failures
* remove reference to soroban-xdr-next branch, use main now it's merged
  • Loading branch information
sreuland authored Aug 21, 2023
1 parent b4e1d0e commit 1e39ad9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ ADD js-soroban-client /home/tester/js-soroban-client
RUN sudo chown -R tester:tester /home/tester
RUN yarn install --network-concurrency 1
RUN if echo "$JS_SOROBAN_CLIENT_NPM_VERSION" | grep -q '.*file:.*'; then \
cd /home/tester/js-soroban-client; \
yarn cache clean; \
yarn install --network-concurrency 1; \
cd /home/tester; \
yarn add ${JS_SOROBAN_CLIENT_NPM_VERSION} --network-concurrency 1; \
else \
yarn add "soroban-client@${JS_SOROBAN_CLIENT_NPM_VERSION}" --network-concurrency 1; \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ SOROBAN_CLI_STAGE_IMAGE=stellar/system-test-soroban-cli:dev
CORE_GIT_REF=https://github.com/stellar/stellar-core.git\#master
SOROBAN_RPC_GIT_REF=https://github.com/stellar/soroban-tools.git\#main
SOROBAN_CLI_GIT_REF=https://github.com/stellar/soroban-tools.git\#main
GO_GIT_REF=https://github.com/stellar/go.git\#soroban-xdr-next
GO_GIT_REF=https://github.com/stellar/go.git\#master
QUICKSTART_GIT_REF=https://github.com/stellar/quickstart.git\#master
# specify the published npm repo version of soroban-client js library, or you can specify gh git ref url as the version also
JS_SOROBAN_CLIENT_NPM_VERSION=https://github.com/stellar/js-soroban-client.git\#main
Expand Down

0 comments on commit 1e39ad9

Please sign in to comment.