2018-07-27 13:08:14 +00:00
|
|
|
#!/bin/bash
|
2018-09-25 17:45:08 +00:00
|
|
|
set -e
|
2018-09-25 17:01:10 +00:00
|
|
|
RIOT_BRANCH=develop
|
2018-07-18 16:04:31 +00:00
|
|
|
|
2019-04-05 14:15:38 +00:00
|
|
|
if [ -d $BASE_DIR/riot-web ]; then
|
|
|
|
echo "riot is already installed"
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
2019-10-18 15:18:18 +00: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
|