Sha256: 947a41b336a11301c230a3b2a9bf081c7fc649bece2bb0f77db08d49d2dd5cb2
Contents?: true
Size: 1005 Bytes
Versions: 7
Compression:
Stored size: 1005 Bytes
Contents
require 'cocoapods' require_relative '../source/util/sh_util' module OrmDev class Command class Setup < Command self.summary = '初始化pod仓库。' self.description = <<-DESC 初始化pod仓库。 DESC self.arguments = [ ] def self.options [ ].concat(super) end def initialize(argv) super end def validate! super end def run super OrmDev::LogUtil.info '[插件开发] 初始化pod仓库'.green OrmDev::SHUtil.run_command('pod repo add orm https://gitee.com/mvn/ios.git','更验证Pod',false) OrmDev::SHUtil.run_command('pod repo update','更验证Pod',false) OrmDev::LogUtil.info '创建插件工程:' OrmDev::LogUtil.info ' ormdev create CIPXxx'.magenta OrmDev::LogUtil.info '或者使用快速创建插件工程:' OrmDev::LogUtil.info ' ormdev create CIPXxx --fast'.magenta end end end end
Version data entries
7 entries across 7 versions & 1 rubygems