2018-07-27 15:08:14 +02:00
|
|
|
#!/bin/bash
|
2018-09-25 19:45:08 +02:00
|
|
|
set -e
|
2018-09-25 19:01:10 +02:00
|
|
|
RIOT_BRANCH=develop
|
2018-07-18 18:04:31 +02:00
|
|
|
|
2019-04-05 16:15:38 +02:00
|
|
|
if [ -d $BASE_DIR/riot-web ]; then
|
|
|
|
echo "riot is already installed"
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
2019-10-18 17:18:18 +02:00
|
|
|
curl -L https://github.com/vector-im/riot-web/archive/${RIOT_BRANCH}.zip --output riot.zip
|
|
|
|
unzip -q riot.zip
|
|
|
|
rm riot.zip
|
|
|
|
mv riot-web-${RIOT_BRANCH} riot-web
|
|
|
|
cd riot-web
|
|
|
|
yarn install
|
|
|
|
yarn run build
|