update readme

This commit is contained in:
Marc Rousavy 2021-02-23 12:32:03 +01:00
parent d1ca7f0177
commit 3157341a0e
3 changed files with 22 additions and 14 deletions

View File

@ -1,18 +1,20 @@
name: Validate Swift name: Validate Swift
on: push on:
# push: push:
# branches: branches:
# - master - master
# paths: paths:
# - ".github/workflows/validate-swift.yaml" - ".github/workflows/validate-swift.yaml"
# - "ios/" - "ios/"
# - "example/ios/" - "example/ios/"
# pull_request: - ".github/workflows/validate-swift.yml"
# paths: pull_request:
# - ".github/workflows/validate-swift.yaml" paths:
# - "ios/" - ".github/workflows/validate-swift.yaml"
# - "example/ios/" - "ios/"
- "example/ios/"
- ".github/workflows/validate-swift.yml"
jobs: jobs:
SwiftLint: SwiftLint:

View File

@ -9,12 +9,14 @@ on:
- "*.js" - "*.js"
- "*.json" - "*.json"
- "package.json" - "package.json"
- ".github/workflows/validate-typescript.yml"
pull_request: pull_request:
paths: paths:
- "src" - "src"
- "*.js" - "*.js"
- "*.json" - "*.json"
- "package.json" - "package.json"
- ".github/workflows/validate-typescript.yml"
jobs: jobs:
build: build:

View File

@ -4,7 +4,11 @@ This folder contains the iOS-platform-specific code for react-native-vision-came
## Prerequesites ## Prerequesites
1. Install need [SwiftFormat](https://github.com/nicklockwood/SwiftFormat) and [SwiftLint](https://github.com/realm/SwiftLint) 1. Install Xcode tools
```sh
xcode-select --install
```
2. Install need [SwiftFormat](https://github.com/nicklockwood/SwiftFormat) and [SwiftLint](https://github.com/realm/SwiftLint)
```sh ```sh
brew install swiftformat swiftlint brew install swiftformat swiftlint
``` ```