docker: download required branch only
parent
872a7a74fb
commit
f5bd5a345e
|
@ -20,17 +20,15 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Linking js-sdk"
|
echo "Linking js-sdk"
|
||||||
git clone $JS_SDK_REPO js-sdk
|
git clone --depth 1 --branch $JS_SDK_BRANCH $JS_SDK_REPO js-sdk
|
||||||
cd js-sdk
|
cd js-sdk
|
||||||
git checkout $JS_SDK_BRANCH
|
|
||||||
yarn link
|
yarn link
|
||||||
yarn --network-timeout=100000 install
|
yarn --network-timeout=100000 install
|
||||||
cd ../
|
cd ../
|
||||||
|
|
||||||
echo "Linking react-sdk"
|
echo "Linking react-sdk"
|
||||||
git clone $REACT_SDK_REPO react-sdk
|
git clone --depth 1 --branch $REACT_SDK_BRANCH $REACT_SDK_REPO react-sdk
|
||||||
cd react-sdk
|
cd react-sdk
|
||||||
git checkout $REACT_SDK_BRANCH
|
|
||||||
yarn link
|
yarn link
|
||||||
yarn link matrix-js-sdk
|
yarn link matrix-js-sdk
|
||||||
yarn --network-timeout=100000 install
|
yarn --network-timeout=100000 install
|
||||||
|
|
Loading…
Reference in New Issue