1
0
Fork 0
mirror of https://github.com/element-hq/element-web.git synced 2024-12-16 10:31:30 +03:00
element-web/test/end-to-end-tests/element/install.sh

17 lines
358 B
Bash
Raw Normal View History

#!/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
yarn install
yarn run build