Skip to content

Instantly share code, notes, and snippets.

@mac-cain13
Created April 26, 2014 09:31
Show Gist options
  • Save mac-cain13/11315725 to your computer and use it in GitHub Desktop.
Save mac-cain13/11315725 to your computer and use it in GitHub Desktop.
XCode buildphase script that generated Appledoc of the project asynchronously
APPLEDOC_PATH=`which appledoc`
if [ $APPLEDOC_PATH ]; then
$APPLEDOC_PATH \
--project-name ${PROJECT_NAME} \
--project-company "YourCompany" \
--company-id "com.yourcompany" \
--ignore ".m" \
--ignore "Pods" \
--explicit-crossref \
--keep-undocumented-objects \
--keep-undocumented-members \
--no-repeat-first-par \
--no-warn-missing-arg \
--no-warn-undocumented-object \
--no-warn-undocumented-member \
--no-warn-empty-description \
--docset-bundle-id ${PROJECT_NAME} \
--docset-bundle-name ${PROJECT_NAME} \
--docset-install-path ${PROJECT_DIR} \
--output ${TEMP_DIR} \
${PROJECT_DIR} \
> ${PROJECT_DIR}/docset-generation.log 2>&1 &
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment