[Add] AlibabacloudCloudAPI20160714 4.5.1
[CocoaPods.git] / Specs / 2 / 3 / 8 / react-native-headers / 0.1.1 / react-native-headers.podspec.json
blob59cbacf03251205e489b7d9e2c35175f2930d236
2   "name": "react-native-headers",
3   "version": "0.1.1",
4   "summary": "A short description of react-native-headers.",
5   "description": "TODO: Add long description of the pod here.",
6   "homepage": "https://github.com/bestofsong/react-native-headers",
7   "license": {
8     "type": "MIT",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "bestofsong": "betterofsong@gmail.com"
13   },
14   "source": {
15     "git": "https://github.com/bestofsong/react-native-headers.git",
16     "tag": "0.1.1"
17   },
18   "platforms": {
19     "ios": "8.0"
20   },
21   "source_files": "react-native-headers/Classes/**/*",
22   "prepare_command": "proof_file=~/react-native-headers.txt\n  \nfunction debug {\n  local name=$1\n  eval \"echo \"debug: $name: $$name\"\"\n}\n  \nPODS_ROOT=`pwd`\nRN_SRC=\"${PODS_ROOT}/../../node_modules/react-native/React\"\nRN_DEST=\"${PODS_ROOT}/Headers/Public/React\"\n  \ndebug \"PODS_ROOT\" >>\"${proof_file}\"\ndebug \"RN_SRC\" >>\"${proof_file}\"\ndebug \"RN_DEST\" >>\"${proof_file}\"\n  \n[ ! -d \"${RN_SRC}\" ] && exit 0\n[ -d \"${RN_DEST}\" ] || mkdir -p \"${RN_DEST}\"\n  \nheaders=`find \"${RN_SRC}\" -iname \"*.h\"`\ndebug \"headers\" >>\"${proof_file}\"\n\nfor hh in ${headers} ; do\n  name=`basename \"${hh}\"`\n  dest=${RN_DEST}/${name}\n  [ -f \"${dest}\" ] && rm \"${dest}\"\n  cp \"${hh}\" \"${dest}\"\ndone"