hipac cocoapods-plugin

为 pod 提供二级命令 hipac

install

gem install cocoapods-hipac

usage

  • pod hipac deplist 根据 Podfile 文件对 pod 依赖分析,列出 pod 的所有依赖
  • pod hipac deptree 根据 Podfile 文件对 pod 依赖分析,输出 podfile.lock 格式的带层级依赖
  • pod hipac depsort 根据 Podfile 文件对 pod 依赖分析并排序,默认只对处于开发状态的 pod 排序
  • pod hipac pull 根据 podFile 将开发状态 pod 批量更新至本地
    所有 pod 会 pull 至 podFile 所在目录的上一级
    本地没有该 pod 仓库 执行git clone -b
    本地有该 pod 仓库,且分支一致,执行 git stash & git pull
    本地有该 pod 仓库,但分支不一致,执行 git stash & git checkout branch & git pull