[doc only]
This commit is contained in:
Jan-Erik Rediger 2020-08-03 11:59:22 +02:00
Родитель 3e845b2b15
Коммит 36753eb2a4
2 изменённых файлов: 2 добавлений и 8 удалений

Просмотреть файл

@ -473,18 +473,12 @@ jobs:
- run:
name: Install lint tools
command: |
brew install swiftlint swiftformat
brew install swiftlint
- run:
name: Run swiftlint
command: |
swiftlint version
swiftlint --strict
- run:
name: Run swiftformat
command: |
swiftformat --version
swiftformat glean-core/ios samples/ios --swiftversion 5 --verbose
git diff --exit-code HEAD -- glean-core/ios samples/ios
iOS build and test:
macos:

Просмотреть файл

@ -5,7 +5,7 @@
1. Install Xcode 11.0
2. Install [Carthage](https://github.com/Carthage/Carthage): `brew install carthage`
3. Ensure you have Python 3 installed: `brew install python`
4. Install linting and formatting tools: `brew install swiftlint swiftformat`
4. Install linting and formatting tools: `brew install swiftlint`
5. Run `bin/bootstrap.sh` to download dependencies.
6. (Optional, only required for building on the CLI) Install [xcpretty](https://github.com/xcpretty/xcpretty): `gem install xcpretty`