mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
17 lines
374 B
Bash
Executable File
17 lines
374 B
Bash
Executable File
#!/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 --pure-lockfile
|
|
yarn run build
|