update readme
This commit is contained in:
parent
d1ca7f0177
commit
3157341a0e
28
.github/workflows/validate-swift.yml
vendored
28
.github/workflows/validate-swift.yml
vendored
@ -1,18 +1,20 @@
|
||||
name: Validate Swift
|
||||
|
||||
on: push
|
||||
# push:
|
||||
# branches:
|
||||
# - master
|
||||
# paths:
|
||||
# - ".github/workflows/validate-swift.yaml"
|
||||
# - "ios/"
|
||||
# - "example/ios/"
|
||||
# pull_request:
|
||||
# paths:
|
||||
# - ".github/workflows/validate-swift.yaml"
|
||||
# - "ios/"
|
||||
# - "example/ios/"
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- ".github/workflows/validate-swift.yaml"
|
||||
- "ios/"
|
||||
- "example/ios/"
|
||||
- ".github/workflows/validate-swift.yml"
|
||||
pull_request:
|
||||
paths:
|
||||
- ".github/workflows/validate-swift.yaml"
|
||||
- "ios/"
|
||||
- "example/ios/"
|
||||
- ".github/workflows/validate-swift.yml"
|
||||
|
||||
jobs:
|
||||
SwiftLint:
|
||||
|
2
.github/workflows/validate-typescript.yml
vendored
2
.github/workflows/validate-typescript.yml
vendored
@ -9,12 +9,14 @@ on:
|
||||
- "*.js"
|
||||
- "*.json"
|
||||
- "package.json"
|
||||
- ".github/workflows/validate-typescript.yml"
|
||||
pull_request:
|
||||
paths:
|
||||
- "src"
|
||||
- "*.js"
|
||||
- "*.json"
|
||||
- "package.json"
|
||||
- ".github/workflows/validate-typescript.yml"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -4,7 +4,11 @@ This folder contains the iOS-platform-specific code for react-native-vision-came
|
||||
|
||||
## 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
|
||||
brew install swiftformat swiftlint
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user