element-call/scripts/dockerbuild.sh
David Baker ccd8b484a6 Add env vars to build script
with hardcoded values for now
2021-12-20 17:53:23 +00:00

29 lines
585 B
Bash
Executable file

#!/bin/sh
set -ex
VITE_DEFAULT_HOMESERVER=https://call.ems.host
VITE_SENTRY_DSN=https://b1e328d49be3402ba96101338989fb35@sentry.matrix.org/41
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
yarn link matrix-js-sdk
yarn link matrix-react-sdk
yarn install
yarn run build