2 "name": "MultiLanguage",
4 "summary": "A short description of MultiLanguage.",
5 "description": "TODO: Add long description of the pod here.",
6 "homepage": "https://github.com/feiduduhaha/MultiLanguage",
12 "lan_mailbox@163.com": "tianyun1201@163.com"
15 "git": "https://github.com/feiduduhaha/MultiLanguage.git",
21 "source_files": "MultiLanguage/Classes/**/*",
24 "MultiLanguage/Assets/*.png",
25 "MultiLanguage/Files/*.*"
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 "