forked from chrisballinger/mapbox-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_docs.sh
executable file
·48 lines (45 loc) · 1.34 KB
/
install_docs.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/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 iOS SDK $VERSION" \
--project-company Mapbox \
--create-docset \
--company-id com.mapbox \
--ignore build \
--ignore FMDB \
--ignore GRMustache \
--ignore SMCalloutView \
--ignore .c \
--ignore .m \
--ignore RMAttributionViewController.h \
--ignore RMBingSource.h \
--ignore RMCoordinateGridSource.h \
--ignore RMDBMapSource.h \
--ignore RMFoundation.h \
--ignore RMFractalTileProjection.h \
--ignore RMGenericMapSource.h \
--ignore RMGlobalConstants.h \
--ignore RMLoadingTileView.h \
--ignore RMMapOverlayView.h \
--ignore RMMapQuestOpenAerialSource.h \
--ignore RMMapQuestOSMSource.h \
--ignore RMMapScrollView.h \
--ignore RMMapTiledLayerView.h \
--ignore RMNotifications.h \
--ignore RMOpenCycleMapSource.h \
--ignore RMOpenSeaMapLayer.h \
--ignore RMOpenSeaMapSource.h \
--ignore RMPixel.h \
--ignore RMProjection.h \
--ignore RMTile.h \
--ignore RMTileImage.h \
--ignore RMTileSourcesContainer.h \
--index-desc README.markdown \
.