[Add] FaceSDKNightly 6.4.2314
[CocoaPods.git] / Specs / b / 9 / f / MTLManagedObjectAdapter / 1.0 / MTLManagedObjectAdapter.podspec.json
blob15e8aff3ec8fa3b45f8c76494821d6eac56860be
2   "name": "MTLManagedObjectAdapter",
3   "version": "1.0",
4   "license": "MIT",
5   "summary": "Model framework for Cocoa and Cocoa Touch.",
6   "homepage": "https://github.com/Mantle/Mantle",
7   "authors": {
8     "GitHub": "support@github.com"
9   },
10   "source": {
11     "git": "https://github.com/Mantle/MTLManagedObjectAdapter.git",
12     "tag": "1.0"
13   },
14   "requires_arc": true,
15   "platforms": {
16     "ios": "8.0",
17     "osx": "10.9"
18   },
19   "source_files": "MTLManagedObjectAdapter/MTLManagedObjectAdapter.{h,m}",
20   "public_header_files": "MTLManagedObjectAdapter/MTLManagedObjectAdapter.h",
21   "dependencies": {
22     "Mantle": [
23       "~> 2.0"
24     ]
25   },
26   "frameworks": [
27     "Foundation",
28     "CoreData"
29   ],
30   "prepare_command": "  PREFIX=\"mtl_moa_\"\n  # Add prefix to header imports\n  ext_header_prefix_src() {\n    SOURCE_FILE=$1\n    EXT_HEADER_NAME=$2\n    sed -i.bak \"s/\"${EXT_HEADER_NAME}\"/\"${PREFIX}${EXT_HEADER_NAME}\"/g\" ${SOURCE_FILE} && rm ${SOURCE_FILE}.bak\n  }\n  ext_header_prefix_src MTLManagedObjectAdapter/MTLManagedObjectAdapter.m EXTRuntimeExtensions.h\n  ext_header_prefix_src MTLManagedObjectAdapter/MTLManagedObjectAdapter.m EXTScope.h\n  ext_header_prefix_src MTLManagedObjectAdapter/extobjc/EXTRuntimeExtensions.m EXTRuntimeExtensions.h\n  ext_header_prefix_src MTLManagedObjectAdapter/extobjc/EXTScope.m EXTScope.h\n  # Change header name\n  ext_header_prefix_mv() {\n    SOURCE_FILE=$1\n    FILE_NAME=`basename ${SOURCE_FILE}`\n    DIR_NAME=`dirname ${SOURCE_FILE}`\n    mv ${SOURCE_FILE} `dirname ${SOURCE_FILE}`/${PREFIX}`basename ${SOURCE_FILE}`\n  }\n  export -f ext_header_prefix_mv\n  export PREFIX=${PREFIX}\n  find MTLManagedObjectAdapter/extobjc -name \"*.h\" -exec bash -c 'ext_header_prefix_mv \"$0\"' {} \\;\n  unset ext_header_prefix_mv\n  unset PREFIX\n",
31   "subspecs": [
32     {
33       "name": "extobjc",
34       "source_files": "MTLManagedObjectAdapter/extobjc/*.{h,m}",
35       "private_header_files": "MTLManagedObjectAdapter/extobjc/*.h"
36     }
37   ]