美文网首页
iOS 管理工具 xchelper

iOS 管理工具 xchelper

作者: 仇志飞 | 来源:发表于2021-07-02 14:22 被阅读0次

    xchelper

    日常维护 iOS 项目较多, 目录结构、代码依赖、travis.yml 多有差异.

    有的项目使用 bundler, 有的项目仅使用 cocoapods, 且 Gemfile/Podfile 路径不同.
    `xchelper install` 可以寻找 Gemfile/Podfile 所在目录, 并执行相应的 install.
    
    为每个项目的 xcodebuild test, 配置 workspace scheme 等参数很繁琐.
    `xchelper test` 可以自动组装 `xcodebuild test` workspace scheme 等参数.
    

    xchelper 可以让这些繁琐的工作统一管理.

    Installation

    Method Command
    curl sh -c "$(curl -fsSL https://raw.githubusercontent.com/BlueIntent/xchelper/main/scripts/install.sh)"
    wget sh -c "$(wget -O- https://raw.githubusercontent.com/BlueIntent/xchelper/main/scripts/install.sh)"

    Usage

    拉取项目依赖, 寻找 Gemfile 所在目录执行 bundle exec rake; 寻找 Podfile 所在目录执行 pod install --verbose.

    xchelper install
    

    拉取项目依赖, 并自动打开 workspace.

    xchelper run
    

    执行 xcodebuild test

    xchelper test
    

    Homepage

    相关文章

      网友评论

          本文标题:iOS 管理工具 xchelper

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