element-web-Github/riot/install.sh

12 lines
270 B
Bash
Raw Normal View History

RIOT_BRANCH=master
BASE_DIR=$(realpath $(dirname $0))
pushd $BASE_DIR
curl -L https://github.com/vector-im/riot-web/archive/${RIOT_BRANCH}.zip --output riot.zip
unzip riot.zip
rm riot.zip
mv riot-web-${RIOT_BRANCH} riot-web
pushd riot-web
npm install
npm run build
popd