2018-07-18 15:52:51 +00:00
|
|
|
RIOT_BRANCH=master
|
2018-07-18 16:04:31 +00:00
|
|
|
|
|
|
|
BASE_DIR=$(realpath $(dirname $0))
|
|
|
|
pushd $BASE_DIR
|
2018-07-18 15:52:51 +00:00
|
|
|
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
|
2018-07-20 16:50:05 +00:00
|
|
|
cp config-template/config.json riot-web/
|
2018-07-18 15:52:51 +00:00
|
|
|
pushd riot-web
|
|
|
|
npm install
|
|
|
|
npm run build
|
2018-07-18 16:04:31 +00:00
|
|
|
popd
|