iOS 管理工具 xchelper

2021-07-02  本文已影响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

上一篇 下一篇

猜你喜欢

热点阅读