1
Fork 0

Update plugins on build

This commit is contained in:
Jake Howard 2016-05-28 21:23:50 +01:00
parent d2352cd3a4
commit b4dc45cb3b
Signed by: jake
GPG key ID: 57AFB45680EDD477

11
build
View file

@ -14,6 +14,15 @@ set -e
pyvenv env
env/bin/pip install -r requirements.txt
git clone --recursive https://github.com/getpelican/pelican-plugins plugins/ || echo "Plugins already installed!"
if [ -d "plugins/" ]; then
echo ">> Updating plugins"
cd plugins/
git pull
git submodule update --recursive
cd -
else
git clone --recursive https://github.com/getpelican/pelican-plugins plugins/
fi
npm install