Permalink
Browse files

[ios-sdk] Fix docs/distribution scripts

Summary:
Appledoc docset name was referenced twice, and differently. Fixed to use the variable set by common.sh, and fixed
common.sh to set the right name.

Test Plan: Revert Plan:

Reviewers: jacl

Reviewed By: jacl

Differential Revision: https://phabricator.fb.com/D497697
  • Loading branch information...
1 parent 32d03d0 commit 2d754850d1a442328d41e5a1a524664c4125424e @clang13 clang13 committed Jun 18, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −0 README.mdown
  2. +1 −1 scripts/build_documentation.sh
  3. +1 −1 scripts/common.sh
View
@@ -7,3 +7,4 @@ Except as otherwise noted, the Facebook SDK for iOS is licensed under the Apache
Learn more about about the provided samples, documentation, integrating the SDK into your app, accessing source code, and more at http://developers.facebook.com/ios.
+NOTE: By default, the Facebook SDK for iOS is installed in ~/Documents/FacebookSDK. A simple way to test your install is to build and run the project at ~/Documents/FacebookSDK/Samples/JustRequestSample/JustRequestSample.xcodeproj.
@@ -38,7 +38,7 @@ test -d $FB_SDK_BUILD \
cd $FB_SDK_SRC
APPLEDOC=appledoc
-DOCSET="$FB_SDK_BUILD"/com.facebook.Facebook-SDK-3_0-for-iOS.docset
+DOCSET="$FB_SDK_BUILD"/"$FB_SDK_DOCSET_NAME"
rm -rf $DOCSET
View
@@ -61,7 +61,7 @@ if [ -z "$FB_SDK_SCRIPT" ]; then
FB_SDK_FRAMEWORK=$FB_SDK_BUILD/$FB_SDK_FRAMEWORK_NAME
# The name of the docset
- FB_SDK_DOCSET_NAME=com.facebook.Facebook-iOS-SDK.docset
+ FB_SDK_DOCSET_NAME=com.facebook.Facebook-SDK-3_0-for-iOS.docset
# The path to the framework docs
FB_SDK_FRAMEWORK_DOCS=$FB_SDK_BUILD/$FB_SDK_DOCSET_NAME

0 comments on commit 2d75485

Please sign in to comment.