summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorJason Wray <friedbunny@users.noreply.github.com>2016-12-14 18:19:52 -0800
committerGitHub <noreply@github.com>2016-12-14 18:19:52 -0800
commit78efb2d4519c862fe65e0a7a86d2e1aa5c6005fc (patch)
tree374558443dd6635f30d466dc6401e5418b6ea4a1 /platform
parentda44db915c033310403f5240bdbbd61b4822245f (diff)
downloadqtlocation-mapboxgl-78efb2d4519c862fe65e0a7a86d2e1aa5c6005fc.tar.gz
[ios] Remove last remnants of appledoc & docsets (#7418)
These scripts are broken and no longer useful in a post-jazzy world.
Diffstat (limited to 'platform')
-rwxr-xr-xplatform/ios/docs/install_docs.sh34
-rwxr-xr-xplatform/ios/docs/remove_docs.sh7
2 files changed, 0 insertions, 41 deletions
diff --git a/platform/ios/docs/install_docs.sh b/platform/ios/docs/install_docs.sh
deleted file mode 100755
index c5093cb5e1..0000000000
--- a/platform/ios/docs/install_docs.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/env bash
-
-if [ -z `which appledoc` ]; then
- echo "Unable to find appledoc. See https://github.com/mapbox/mapbox-gl-native/blob/master/docs/BUILD_IOS_OSX.md"
- exit 1
-fi
-
-OUTPUT="/tmp/`uuidgen`"
-
-DOCS_VERSION=$( git tag | grep ^ios | sed 's/^ios-//' | sort -r | grep -v '\-rc.' | grep -v '\-pre.' | sed -n '1p' | sed 's/^v//' )
-echo "Creating new docs for ${DOCS_VERSION}..."
-echo
-
-rm -rf /tmp/mbgl
-mkdir -p /tmp/mbgl/
-README=/tmp/mbgl/GL-README.md
-cat ./pod-README.md > ${README}
-echo >> ${README}
-echo -n "#" >> ${README}
-cat ../../CHANGELOG.md | sed -n "/^## iOS ${DOCS_VERSION}/,/^##/p" | sed '$d' >> ${README}
-# Copy headers to a temporary location where we can substitute macros that appledoc doesn't understand.
-cp -r ../../platform/ios/include /tmp/mbgl
-perl \
- -pi \
- -e 's/NS_(?:(MUTABLE)_)?(ARRAY|SET|DICTIONARY)_OF\(\s*(.+?)\s*\)/NS\L\u$1\u$2\E <$3>/g' \
- /tmp/mbgl/ios/*.h
-appledoc \
- --output ${OUTPUT} \
- --project-name "Mapbox iOS SDK ${DOCS_VERSION}" \
- --project-company Mapbox \
- --create-docset \
- --company-id com.mapbox \
- --index-desc ${README} \
- /tmp/mbgl/ios
diff --git a/platform/ios/docs/remove_docs.sh b/platform/ios/docs/remove_docs.sh
deleted file mode 100755
index 747ca0a3ae..0000000000
--- a/platform/ios/docs/remove_docs.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/env bash
-
-echo
-echo "Removing docs from ~/Library/Developer/Shared/Documentation/DocSets..."
-echo
-
-rm -rfv ~/Library/Developer/Shared/Documentation/DocSets/com.mapbox.Mapbox-GL-*