Sha256: 1ecddb75a84c3fb33d912540e004b8f87507e5c3bc2c31ff8c6fe768cba537b5
Contents?: true
Size: 752 Bytes
Versions: 4
Compression:
Stored size: 752 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 orm','更验证Pod',false) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ormdev-0.0.6 | lib/ormdev/command/setup.rb |
ormdev-0.0.5 | lib/ormdev/command/setup.rb |
ormdev-0.0.4 | lib/ormdev/command/setup.rb |
ormdev-0.0.3 | lib/ormdev/command/setup.rb |