diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2015-02-09 18:01:40 -0800 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2015-02-09 18:01:40 -0800 |
commit | d4d4cd44151423d374e373798f09d12157babc27 (patch) | |
tree | ede100edc58475b969b62fba8f3bcb219b29beda /ios/docs/install_docs.sh | |
parent | 0ee6044ccf49bb32a25c57ce25af15bcd58ca77b (diff) | |
download | qtlocation-mapboxgl-d4d4cd44151423d374e373798f09d12157babc27.tar.gz |
move iOS code from gl-cocoa to this project
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 |