美文网首页
组件化经常用到的指令

组件化经常用到的指令

作者: _牧歌 | 来源:发表于2019-07-30 18:56 被阅读0次

    0.添加远程索引库到本地
    pod repo add CCSpecs https://....git
    1.创建lib库
    pod lib create XXX
    2.关联本地库到远程库
    git remote add origin https://….git
    3.添加修改到本地
    git add .
    4.提交修改到本地管理
    git commit -m “初次提交”
    5.上传本地库到远程库
    git push origin master
    6.本地打标签
    打标签:git tag 0.1.0
    移除本地标签 : git tag -d 0.1.0
    7远程库打标签
    打标签:git push —tags
    移除远程标签 git push origin :refs/tags/0.1.0
    8.本地库验证(sources有用到私有库才需要)
    pod repo lib lint XXX.podspec --allow-warnings -- sources='https://....git,https://github.com/CocoaPods/Specs.git'
    9.远程验证
    pod spec lint XXX.podspec --allow-warnings --sources='https://....git,https://github.com/CocoaPods/Specs.git'
    10.上传本地索引到索引库
    pod repo push CCSpecs XXX.podspec --allow-warnings

    远程私有库方案.png

    相关文章

      网友评论

          本文标题:组件化经常用到的指令

          本文链接:https://www.haomeiwen.com/subject/oflorctx.html