fxa/.circleci/install-content-server.sh

16 строки
312 B
Bash
Исходник Обычный вид История

2019-03-30 04:22:03 +03:00
#!/bin/bash -ex
DIR=$(dirname "$0")
if grep -e "fxa-content-server" -e 'all' $DIR/../packages/test.list; then
sudo apt-get install -y graphicsmagick
mkdir -p server/config
2019-03-30 04:22:03 +03:00
cp ../version.json ./
cp ../version.json server/config
2019-03-30 04:22:03 +03:00
cd $DIR/..
CIRCLECI=false npm install
npx pm2 kill
else
exit 0;
fi