[Add] FTMobileSDK 1.5.8-alpha.2
[CocoaPods.git] / Specs / 7 / 6 / 4 / MultiLanguage / 1.2.4 / MultiLanguage.podspec.json
blobfee2e2a1a9e36666f78d1c25f9cc8b71639a5e80
2   "name": "MultiLanguage",
3   "version": "1.2.4",
4   "summary": "A short description of MultiLanguage.",
5   "description": "TODO: Add long description of the pod here.",
6   "homepage": "https://github.com/feiduduhaha/MultiLanguage",
7   "license": {
8     "type": "MIT",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "lan_mailbox@163.com": "tianyun1201@163.com"
13   },
14   "source": {
15     "git": "https://github.com/feiduduhaha/MultiLanguage.git",
16     "tag": "1.2.4"
17   },
18   "platforms": {
19     "ios": "8.0"
20   },
21   "source_files": "MultiLanguage/Classes/**/*",
22   "resource_bundles": {
23     "Multi_language": [
24       "MultiLanguage/Assets/*.png",
25       "MultiLanguage/Files/*.*"
26     ]
27   },
28   "script_phases": {
29     "name": "MultiLanguageScript",
30     "script": "\n      \n      echo \"\\n**********************判断是否需要执行多语言python脚本*********************************\"\n      \n      podsPath=${BUILT_PRODUCTS_DIR}\n      shortPath=\"/Multi_language.bundle/\"\n      plistPath=\"${podsPath}/${shortPath}Config.plist\"\n      filterScriptPath=\"${podsPath}/${shortPath}firstScript.py\"\n      transScriptPath=\"${podsPath}/${shortPath}secoundScript.py\"\n      \n      echo \"我的工作目录\"\n      cho $podsPath\n      \n      RunFilterScript=`/usr/libexec/PlistBuddy -c \"Print RunFilterScript\" $plistPath`\n      echo \"$RunFilterScript\"\n      if [ $RunFilterScript == \"true\" ]\n      then\n          echo \"执行过滤脚本,生成csv文件\"\n          ${filterScriptPath}\n      else\n          echo \"不需要执行过滤脚本\"\n      fi\n      \n      RunScvToJsonScScript=`/usr/libexec/PlistBuddy -c \"Print RunScvToJsonScScript\" $plistPath`\n      echo \"$RunScvToJsonScScript\"\n      if [ $RunScvToJsonScScript == \"true\" ]\n      then\n          echo \"执行转换csv到json脚本\"\n          ${transScriptPath}\n      else\n          echo \"不需要转换脚本\"\n      fi\n      echo \"\\n**********************MultiLanguage全部脚本运行完毕************************************\\n\"\n    "
31   }