Skip to content

Instantly share code, notes, and snippets.

@taxilian
Created June 28, 2013 20:26
Show Gist options
  • Save taxilian/5887822 to your computer and use it in GitHub Desktop.
Save taxilian/5887822 to your computer and use it in GitHub Desktop.
Script that updates docs for firebreath
#!/bin/bash
pushd /home/richard/sites/firebreath/firebreath-dev
git pull
echo "Running doxygen"
./doxygen/gen.sh > /dev/null
pushd docs
pushd html
for fl in *.html; do
grep $fl * > /dev/null
if (( $? )); then
rm -v $fl
fi
done
popd
cp -av html pub_next
#pushd pub_next
#../../../process.sh
#popd
mv published pub_old
mv pub_next published
rm -Rf pub_old
popd
python doxygen/doc2confluence.py someuser somepass
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment