Skip to content
This repository
Browse code

[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...
commit 2d754850d1a442328d41e5a1a524664c4125424e 1 parent 32d03d0
clang13 authored June 18, 2012
1  README.mdown
Source Rendered
@@ -7,3 +7,4 @@ Except as otherwise noted, the Facebook SDK for iOS is licensed under the Apache
7 7
 
8 8
 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.
9 9
 
  10
+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.
2  scripts/build_documentation.sh
@@ -38,7 +38,7 @@ test -d $FB_SDK_BUILD \
38 38
 cd $FB_SDK_SRC
39 39
 
40 40
 APPLEDOC=appledoc
41  
-DOCSET="$FB_SDK_BUILD"/com.facebook.Facebook-SDK-3_0-for-iOS.docset
  41
+DOCSET="$FB_SDK_BUILD"/"$FB_SDK_DOCSET_NAME"
42 42
 
43 43
 rm -rf $DOCSET
44 44
 
2  scripts/common.sh
@@ -61,7 +61,7 @@ if [ -z "$FB_SDK_SCRIPT" ]; then
61 61
   FB_SDK_FRAMEWORK=$FB_SDK_BUILD/$FB_SDK_FRAMEWORK_NAME
62 62
 
63 63
   # The name of the docset
64  
-  FB_SDK_DOCSET_NAME=com.facebook.Facebook-iOS-SDK.docset
  64
+  FB_SDK_DOCSET_NAME=com.facebook.Facebook-SDK-3_0-for-iOS.docset
65 65
 
66 66
   # The path to the framework docs
67 67
   FB_SDK_FRAMEWORK_DOCS=$FB_SDK_BUILD/$FB_SDK_DOCSET_NAME

0 notes on commit 2d75485

Please sign in to comment.
Something went wrong with that request. Please try again.