修正脚本
This commit is contained in:
parent
5bb01739d7
commit
00adabeb3f
@ -33,7 +33,7 @@ module.exports = function (ctx) {
|
||||
if (fs.existsSync(project)) {
|
||||
replaceContents(path.join(project, 'Podfile'), (content) => {
|
||||
if (content.indexOf('GCDWebServer') < 0) {
|
||||
content = content.replace("\nend", " pod 'GCDWebServer', :git => 'https://m.shuto.cn:8681/github/GCDWebServer.git'\nend")
|
||||
content = content.replace("\nend", "\n pod 'GCDWebServer', :git => 'https://m.shuto.cn:8681/github/GCDWebServer.git'\nend")
|
||||
}
|
||||
return content;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user