зеркало из https://github.com/mozilla/glean.git
Родитель
3e845b2b15
Коммит
36753eb2a4
|
@ -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`
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче