Take advantage of Yarn's preservation of links while installing and set up links first and install second. This should result in a small speedup since we no longer install the published SDKs just to replace them on the next line.
13 lines
152 B
Bash
Executable file
13 lines
152 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -ex
|
|
|
|
scripts/fetchdep.sh matrix-org matrix-js-sdk
|
|
|
|
pushd matrix-js-sdk
|
|
yarn link
|
|
yarn install
|
|
popd
|
|
|
|
yarn link matrix-js-sdk
|
|
yarn install
|