mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
41 lines
1.1 KiB
Bash
Executable File
41 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# Creates a layered environment with the full repo for the app and SDKs cloned
|
|
# and linked.
|
|
|
|
# Note that this style is different from the recommended developer setup: this
|
|
# file nests js-sdk and element-web inside react-sdk, while the local
|
|
# development setup places them all at the same level. We are nesting them here
|
|
# because some CI systems do not allow moving to a directory above the checkout
|
|
# for the primary repo (react-sdk in this case).
|
|
|
|
# Set up the js-sdk first
|
|
scripts/fetchdep.sh matrix-org matrix-js-sdk
|
|
pushd matrix-js-sdk
|
|
yarn link
|
|
yarn install --pure-lockfile
|
|
popd
|
|
|
|
# Set up the js-sdk first
|
|
scripts/fetchdep.sh matrix-org matrix-analytics-events main
|
|
pushd matrix-analytics-events
|
|
yarn link
|
|
yarn install --pure-lockfile
|
|
popd
|
|
|
|
# Now set up the react-sdk
|
|
yarn link matrix-js-sdk
|
|
yarn link matrix-analytics-events
|
|
yarn link
|
|
yarn install --pure-lockfile
|
|
yarn reskindex
|
|
|
|
# Finally, set up element-web
|
|
scripts/fetchdep.sh vector-im element-web
|
|
pushd element-web
|
|
yarn link matrix-js-sdk
|
|
yarn link matrix-react-sdk
|
|
yarn install --pure-lockfile
|
|
yarn build:res
|
|
popd
|