Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (17 sloc) 1001 Bytes
docs:
rm -rf Documentation/output
appledoc -o Documentation/output -p GHKit -v 0.5.0 -c "GHKit" --company-id "me.rel" --warn-undocumented-object --warn-undocumented-member --warn-empty-description --warn-unknown-directive --warn-invalid-crossref --warn-missing-arg --no-repeat-first-par --keep-intermediate-files --docset-feed-url http://gabriel.github.com/gh-kit/publish/%DOCSETATOMFILENAME --docset-package-url http://gabriel.github.com/gh-kit/publish/%DOCSETPACKAGEFILENAME --index-desc Documentation/index.txt --verbose=3 --create-html --create-docset --publish-docset --exit-threshold 2 Classes/
gh-pages: docs
rm -rf ../doctmp
mkdir -p ../doctmp
cp -R Documentation/output/html/* ../doctmp
cp -R Documentation/output/publish ../doctmp/publish
rm -rf Documentation/output/*
git checkout gh-pages
git symbolic-ref HEAD refs/heads/gh-pages
rm .git/index
git clean -fdx
cp -R ../doctmp/* .
git add .
git commit -a -m 'Updating docs' && git push origin gh-pages
git checkout master