2020-12-03 13:56:27 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
ELEMENT_BRANCH=develop
|
|
|
|
|
|
|
|
if [ -d $BASE_DIR/element-web ]; then
|
|
|
|
echo "Element is already installed"
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
curl -L https://github.com/vector-im/element-web/archive/${ELEMENT_BRANCH}.zip --output element.zip
|
|
|
|
unzip -q element.zip
|
|
|
|
rm element.zip
|
|
|
|
mv element-web-${ELEMENT_BRANCH} element-web
|
|
|
|
cd element-web
|
2021-07-07 14:11:47 +00:00
|
|
|
yarn install --pure-lockfile
|
2020-12-03 13:56:27 +00:00
|
|
|
yarn run build
|