Created
March 11, 2014 19:28
-
-
Save danielctull/9493221 to your computer and use it in GitHub Desktop.
Build phase, run script to check if appledoc is installed and run it if so
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| appledoc=`which appledoc` | |
| if [ $appledoc ]; then | |
| company="Daniel Tull"; | |
| companyID="uk.co.danieltull"; | |
| companyURL="http://danieltull.co.uk"; | |
| outputPath="/tmp/${PRODUCT_NAME}"; | |
| $appledoc \ | |
| --project-name "${PRODUCT_NAME}" \ | |
| --project-company "${company}" \ | |
| --company-id "${companyID}" \ | |
| --output "${outputPath}" \ | |
| --create-docset \ | |
| --install-docset \ | |
| --create-html \ | |
| --docset-platform-family "${SUPPORTED_PLATFORMS}" \ | |
| --exit-threshold 2 \ | |
| --no-repeat-first-par \ | |
| "${BUILT_PRODUCTS_DIR}/include/${PRODUCT_NAME}" | |
| else | |
| echo "appledoc not found." | |
| fi; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment