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
|
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:
|
||||||
|
2
.github/workflows/validate-typescript.yml
vendored
2
.github/workflows/validate-typescript.yml
vendored
@ -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:
|
||||||
|
@ -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
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user