Skip to content

Instantly share code, notes, and snippets.

@thewtex
Last active August 29, 2015 14:01
Show Gist options
  • Save thewtex/ae0a126febf28a93c042 to your computer and use it in GitHub Desktop.
Save thewtex/ae0a126febf28a93c042 to your computer and use it in GitHub Desktop.
Script that generates the output for http://itk.org/ITK/project/parti.html
#!/bin/sh
cd ~/src/ITKInspector
git checkout master
git pull
~/bin/gitinspector-venv/bin/gitinspector -HTlr --format=html --exclude=itkVersion.h --exclude=Modules/ThirdParty/ > /tmp/inspector.html
scp /tmp/inspector.html public:/projects/Insight/WWW/InsightWeb/files/ITK-gitinspector.html
@hjmjohnson
Copy link

Add

if [ ! -d ~/src/ITKInspector ]; then
git clone git://itk.org/ITK.git ~/src/ITKInspector
fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment