https://github.com/jgralab/funnyqt
Raw File
Tip revision: 4e83319e115d9903e6b4f737d8224be9e260d3b0 authored by Tassilo Horn on 21 July 2016, 16:18:39 UTC
Release version 1.0.5 (just bumped deps)
Tip revision: 4e83319
make-and-upload-docs.sh
#!/bin/zsh

echo "Deleting the old docs"
rm docs/*

lein with-profile docs html5-docs

if [[ $? -eq 0 ]]; then
    echo "Deleting the old docs on helena"
    ssh horn@linux.uni-koblenz.de 'rm /home/horn/public_html/funnyqt-docs/*'
    echo "Copying over the new docs"
    scp -r docs/* horn@linux.uni-koblenz.de:/home/horn/public_html/funnyqt-docs/
    echo "Adjusting the permissions"
    ssh horn@linux.uni-koblenz.de \
	'cd /home/horn/public_html/funnyqt-docs && chmod -R 644 *'
    echo Fini.
else
    echo Error.
fi

lein with-profile docs html5-docs :docset
back to top