diff options
Diffstat (limited to 'ios/docs/install_docs.sh')
-rwxr-xr-x | ios/docs/install_docs.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ios/docs/install_docs.sh b/ios/docs/install_docs.sh new file mode 100755 index 0000000000..4d116c0332 --- /dev/null +++ b/ios/docs/install_docs.sh @@ -0,0 +1,24 @@ +#!/bin/sh + +if [ -z `which appledoc` ]; then + echo "Unable to find appledoc. Consider installing it from source or Homebrew." + exit 1 +fi + +VERSION=$( git tag | sort -r | sed -n '1p' ) +echo "Creating new docs for $VERSION..." +echo + +appledoc \ + --output /tmp/`uuidgen` \ + --project-name "Mapbox GL $VERSION" \ + --project-company Mapbox \ + --create-docset \ + --company-id com.mapbox \ + --ignore app \ + --ignore dist \ + --ignore pkg \ + --ignore test \ + --ignore .m \ + --ignore .mm \ + .
\ No newline at end of file |