mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
e133625405
This build script might change more soon (we shouldn't really need to checkout & link the js-sdk at all) but for now let's just switch the branch now group-call is merged.
21 lines
359 B
Bash
Executable File
21 lines
359 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -ex
|
|
|
|
export VITE_DEFAULT_HOMESERVER=https://call.ems.host
|
|
export VITE_PRODUCT_NAME="Element Call"
|
|
|
|
git clone https://github.com/matrix-org/matrix-js-sdk.git
|
|
cd matrix-js-sdk
|
|
yarn install
|
|
yarn run build
|
|
yarn link
|
|
|
|
cd ../element-call
|
|
|
|
export VITE_APP_VERSION=$(git describe --tags --abbrev=0)
|
|
|
|
yarn link matrix-js-sdk
|
|
yarn install
|
|
yarn run build
|