Files
MapLibreParticleLab/ios/docs/install_docs.sh
2015-02-09 18:01:40 -08:00

24 lines
521 B
Bash
Executable File

#!/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 \
.