2021-12-21 00:58:37 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
2021-12-21 05:00:06 +08:00
|
|
|
export VITE_DEFAULT_HOMESERVER=https://call.ems.host
|
|
|
|
export VITE_SENTRY_DSN=https://b1e328d49be3402ba96101338989fb35@sentry.matrix.org/41
|
2022-02-08 08:16:51 +08:00
|
|
|
export VITE_RAGESHAKE_SUBMIT_URL=https://element.io/bugreports/submit
|
2022-03-30 02:14:31 +08:00
|
|
|
export VITE_PRODUCT_NAME="Element Call"
|
2021-12-21 01:53:23 +08:00
|
|
|
|
2021-12-21 00:58:37 +08:00
|
|
|
git clone https://github.com/matrix-org/matrix-js-sdk.git
|
|
|
|
cd matrix-js-sdk
|
|
|
|
git checkout robertlong/group-call
|
|
|
|
yarn install
|
|
|
|
yarn run build
|
|
|
|
yarn link
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
git clone https://github.com/matrix-org/matrix-react-sdk.git
|
|
|
|
cd matrix-react-sdk
|
|
|
|
git checkout robertlong/group-call
|
|
|
|
yarn link matrix-js-sdk
|
|
|
|
yarn install
|
|
|
|
yarn run build
|
|
|
|
yarn link
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
cd matrix-video-chat
|
2022-02-17 03:29:43 +08:00
|
|
|
|
|
|
|
export VITE_APP_VERSION=$(git describe --tags --abbrev=0)
|
|
|
|
|
2021-12-21 00:58:37 +08:00
|
|
|
yarn link matrix-js-sdk
|
|
|
|
yarn link matrix-react-sdk
|
|
|
|
yarn install
|
|
|
|
yarn run build
|