From fa28d2400b22cddbac992068cab64fcc6332ba4b Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 27 Apr 2022 22:11:23 +0100 Subject: [PATCH] Fix layered.sh --- scripts/layered.sh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/scripts/layered.sh b/scripts/layered.sh index ada578497d..fa5fdba578 100755 --- a/scripts/layered.sh +++ b/scripts/layered.sh @@ -18,13 +18,6 @@ yarn link yarn install --pure-lockfile popd -# Now set up the react-sdk -scripts/fetchdep.sh matrix-org matrix-react-sdk -pushd matrix-react-sdk -yarn link -yarn install --pure-lockfile -popd - # Also set up matrix-analytics-events so we get the latest from # the main branch or a branch with matching name scripts/fetchdep.sh matrix-org matrix-analytics-events main @@ -33,8 +26,16 @@ yarn link yarn install --pure-lockfile popd +# Now set up the react-sdk +scripts/fetchdep.sh matrix-org matrix-react-sdk +pushd matrix-react-sdk +yarn link +yarn link matrix-js-sdk +yarn link matrix-analytics-events +yarn install --pure-lockfile +popd + # Finally, set up element-web yarn link matrix-js-sdk yarn link matrix-react-sdk -yarn link matrix-analytics-events yarn install --pure-lockfile